pajoye Mon Aug 18 18:10:37 2008 UTC
Modified files:
/php-src/ext/standard/tests/file popen_pclose_error-win32.phpt
Log:
- new parameter API error
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt
diff -u php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt:1.5
php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt:1.6
--- php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt:1.5 Sat Aug
16 13:27:18 2008
+++ php-src/ext/standard/tests/file/popen_pclose_error-win32.phpt Mon Aug
18 18:10:36 2008
@@ -3,8 +3,8 @@
--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 @@
'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 ---
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php