Fixed PHP5.3.3 compatibility
Merge pull request #110 from sebastien-roch/master

Fixed PHP5.3.x compatibility