|
|
|
@ -3,8 +3,8 @@ Test popen() and pclose function: error conditions |
|
|
|
|
|
|
|
--SKIPIF-- |
|
|
|
<?php |
|
|
|
if(substr(PHP_OS, 0, 3) != 'WIN') die("skip Valid only on Windows"); |
|
|
|
if(PHP_DEBUG) die("skip Not Valid for debug builds"); |
|
|
|
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip Valid only on Windows"); |
|
|
|
if (PHP_DEBUG) die("skip Not Valid for debug builds"); |
|
|
|
?> |
|
|
|
|
|
|
|
--FILE-- |
|
|
|
@ -45,13 +45,13 @@ resource(%d) of type (stream) |
|
|
|
'abc.txt' is not recognized as an internal or external command, |
|
|
|
operable program or batch file. |
|
|
|
|
|
|
|
Warning: Wrong parameter count for pclose() in %s on line %d |
|
|
|
NULL |
|
|
|
Warning: pclose() expects exactly 1 parameter, 0 given in %s on line %d |
|
|
|
bool(false) |
|
|
|
|
|
|
|
Warning: Wrong parameter count for pclose() in %s on line %d |
|
|
|
NULL |
|
|
|
Warning: pclose() expects exactly 1 parameter, 2 given in %s on line %d |
|
|
|
bool(false) |
|
|
|
|
|
|
|
Warning: pclose(): supplied argument is not a valid stream resource in %s on line %d |
|
|
|
Warning: pclose() expects parameter 1 to be resource, integer given in %s on line %d |
|
|
|
bool(false) |
|
|
|
|
|
|
|
--- Done --- |