Fixed compatibility with HHVM