Make compatible with php5.3
Merge pull request #387 from Tigrouzen/patch-1

Make compatible with php5.3