summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug65545.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/bug65545.phpt')
-rw-r--r--ext/spl/tests/bug65545.phpt6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/spl/tests/bug65545.phpt b/ext/spl/tests/bug65545.phpt
index 76c29cbf48..bd5a7f06db 100644
--- a/ext/spl/tests/bug65545.phpt
+++ b/ext/spl/tests/bug65545.phpt
@@ -6,9 +6,6 @@ $obj = new SplFileObject(__FILE__, 'r');
$data = $obj->fread(5);
var_dump($data);
-$data = $obj->fread();
-var_dump($data);
-
$data = $obj->fread(0);
var_dump($data);
@@ -20,9 +17,6 @@ var_dump(strlen($data) === filesize(__FILE__) - 5);
--EXPECTF--
string(5) "<?php"
-Warning: SplFileObject::fread() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
Warning: SplFileObject::fread(): Length parameter must be greater than 0 in %s on line %d
bool(false)
bool(true)