Change shorthand syntax to function with PHP below version 5.3