fix to reference for php53
Merge pull request #1912 from rossriley/php53-fixes

fix to reference for php53