[WIP] Compatible with facebook HHVM 3.1