Removing syntax sugar for newer versions of PHP

?: does not work on PHP < 5.3