Fix php 5.3 compatibility

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