diff --git a/ext/zlib/tests/gzfile_variation1.phpt b/ext/zlib/tests/gzfile_variation1.phpt index b573030f921..767abb7e30c 100644 --- a/ext/zlib/tests/gzfile_variation1.phpt +++ b/ext/zlib/tests/gzfile_variation1.phpt @@ -29,15 +29,15 @@ foreach ( $variation as $var ) { ===DONE=== --EXPECTF-- -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -Warning: gzfile() expects parameter 1 to be string, array given in %s on line %d +Warning: gzfile() expects parameter 1 to be a valid path, array given in %s on line %d NULL -===DONE=== \ No newline at end of file +===DONE=== diff --git a/ext/zlib/tests/gzfile_variation6.phpt b/ext/zlib/tests/gzfile_variation6.phpt index 174524b3d8b..1ce1be65913 100644 --- a/ext/zlib/tests/gzfile_variation6.phpt +++ b/ext/zlib/tests/gzfile_variation6.phpt @@ -45,5 +45,5 @@ foreach ( $variation as $var ) { --EXPECTF-- Error: 2 - gzfile(Class A object): failed to open stream: No such file or directory, %s(%d) bool(false) -Error: 2 - gzfile() expects parameter 1 to be string, object given, %s(%d) -NULL \ No newline at end of file +Error: 2 - gzfile() expects parameter 1 to be a valid path, object given, %s(%d) +NULL