php5.3 compatibility

removed php5.5 syntax usage allowing php5.3 backwards compatibility