Fix php 5.3 compatibility

Hi!

Thanks for preserving compatibility with 5.3 :)

All the best,
kisglaci