I think a check on ``defined('HHVM_VERSION')`` should be added, to avoid checking this env variable on non-HHVM setup (where the PHP_BINARY variable should have precedence).