Fixed to work with HHVM
Merge pull request #25 from Gasimzada/master

Fixed to work with HHVM