Merge pull request #231 from adrian-budau/hhvm3.3fix

Not catching fatal erros on hhvm 3.3
Fixed the bitwise operations