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 f29964e commit 503e49fCopy full SHA for 503e49f
ext/standard/tests/file/bug22414.phpt
@@ -2,8 +2,9 @@
2
Bug #22414: passthru() does not read data correctly
3
--SKIPIF--
4
<?php
5
- if (empty(@shell_exec("which cat")) {
6
- dir('skip cat binary needed for this test is not avaliable');
+ $cat_path = @shell_exec("which cat");
+ if (empty($cat_path)) {
7
+ die('skip cat binary needed for this test is not avaliable');
8
}
9
?>
10
--POST--
0 commit comments