Lines Matching refs:binary
21 private static $binary; variable in SebastianBergmann\\Environment\\Runtime
43 if (self::$binary === null && $this->isHHVM()) {
44 if ((self::$binary = getenv('PHP_BINARY')) === false) {
45 self::$binary = PHP_BINARY;
48 self::$binary = escapeshellarg(self::$binary) . ' --php';
52 if (self::$binary === null && defined('PHP_BINARY')) {
54 self::$binary = escapeshellarg(PHP_BINARY);
59 if (self::$binary === null) {
66 self::$binary = escapeshellarg(trim($tmp[1]));
68 self::$binary = escapeshellarg(ltrim(trim($file[0]), '#!'));
71 self::$binary = escapeshellarg($_SERVER['_']);
76 if (self::$binary === null) {
83 foreach ($possibleBinaryLocations as $binary) {
84 if (is_readable($binary)) {
85 self::$binary = escapeshellarg($binary);
91 if (self::$binary === null) {
92 self::$binary = 'php';
95 return self::$binary;