Use long-hand ternary for PHP 5.2