Fixed support for PHP ternary operator