Simplify null checks with PHP 5.3 syntax