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 242d88c commit ef93a93Copy full SHA for ef93a93
sapi/cli/tests/bug64529.phpt
@@ -2,8 +2,13 @@
2
Bug #64529 (Ran out of opcode space)
3
--SKIPIF--
4
<?php
5
-if (substr(PHP_OS, 0, 3) == "WIN") die("skip non windows test");
6
-if (!trim(`which expect`)) die "skip no expect installed";
+if (substr(PHP_OS, 0, 3) == "WIN") {
+ die("skip non windows test");
7
+}
8
+exec('which expect', $output, $ret);
9
+if ($ret) {
10
+ die "skip no expect installed";
11
12
?>
13
--FILE--
14
0 commit comments