diff --git a/tests/Helpers.php b/tests/Helpers.php index 485b192..89b6bb4 100644 --- a/tests/Helpers.php +++ b/tests/Helpers.php @@ -27,10 +27,6 @@ public static function clearDir($dir) */ public static function isHHVM() { - static $isH; - if ($isH === null) { - $isH = (strpos(strtolower(PHP_VERSION), 'hiphop') !== false); - } - return $isH; + return defined('HHVM_VERSION'); } }