summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/stat_error-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/stat_error-win32.phpt')
-rw-r--r--ext/standard/tests/file/stat_error-win32.phpt13
1 files changed, 6 insertions, 7 deletions
diff --git a/ext/standard/tests/file/stat_error-win32.phpt b/ext/standard/tests/file/stat_error-win32.phpt
index fcbac5ff0b..c15ef58dd8 100644
--- a/ext/standard/tests/file/stat_error-win32.phpt
+++ b/ext/standard/tests/file/stat_error-win32.phpt
@@ -31,13 +31,13 @@ echo "Done\n";
--EXPECTF--
*** Testing stat() for error conditions ***
-Warning: Wrong parameter count for stat() in %s on line %d
+Warning: stat() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for stat() in %s on line %d
+Warning: stat() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-Warning: Wrong parameter count for stat() in %s on line %d
+Warning: stat() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Warning: stat(): stat failed for %s in %s on line %d
@@ -49,8 +49,7 @@ bool(false)
Warning: stat(): stat failed for 22 in %s on line %d
bool(false)
-Notice: Array to string conversion in %s on line %d
-
-Warning: stat(): stat failed for Array in %s on line %d
-bool(false)
+Warning: stat() expects parameter 1 to be string, array given in %s on line %d
+NULL
Done
+