summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/004.phpt')
-rw-r--r--ext/zlib/tests/004.phpt8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/zlib/tests/004.phpt b/ext/zlib/tests/004.phpt
index 7689ad0cf1..94e0beba62 100644
--- a/ext/zlib/tests/004.phpt
+++ b/ext/zlib/tests/004.phpt
@@ -5,9 +5,7 @@ gzfile() with various invalid params
--FILE--
<?php
-var_dump(gzfile());
var_dump(gzfile("nonexistent_file_gzfile",1));
-var_dump(gzfile(1,1,1));
var_dump(gzfile(__DIR__."/004.txt.gz"));
var_dump(gzfile(__DIR__."/004.txt.gz", 1));
@@ -15,14 +13,8 @@ var_dump(gzfile(__DIR__."/004.txt.gz", 1));
echo "Done\n";
?>
--EXPECTF--
-Warning: gzfile() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
Warning: gzfile(nonexistent_file_gzfile): failed to open stream: No such file or directory in %s on line %d
bool(false)
-
-Warning: gzfile() expects at most 2 parameters, 3 given in %s on line %d
-NULL
array(6) {
[0]=>
string(36) "When you're taught through feelings