Browse Source

- MFH: new parameter API error

PECL
Pierre Joye 18 years ago
parent
commit
04c09fac0f
  1. 14
      ext/standard/tests/file/popen_pclose_error-win32.phpt

14
ext/standard/tests/file/popen_pclose_error-win32.phpt

@ -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 ---
Loading…
Cancel
Save