Removed php5.2 incompatible syntax
Merge pull request #3099 from tractorcow/pulls/2.4-php52fix

BUG Removed php5.2 incompatible syntax