8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 539de17 commit 876482fCopy full SHA for 876482f
src/Symfony/Component/Process/PhpExecutableFinder.php
@@ -34,10 +34,10 @@ public function __construct()
34
public function find()
35
{
36
// HHVM support
37
- if (($hhvm = getenv("PHP_BINARY")) !== false) {
+ if (defined('HHVM_VERSION') && false !== $hhvm = getenv('PHP_BINARY')) {
38
return $hhvm;
39
}
40
-
+
41
// PHP_BINARY return the current sapi executable
42
if (defined('PHP_BINARY') && PHP_BINARY && ('cli' === PHP_SAPI) && is_file(PHP_BINARY)) {
43
return PHP_BINARY;
0 commit comments