Fixing php 5.3 compatibility
Merge pull request #37 from kisglaci/master

Fixing php 5.3 compatibility