summaryrefslogtreecommitdiffstats
path: root/tests/014-stream.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/014-stream.phpt')
-rw-r--r--tests/014-stream.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/014-stream.phpt b/tests/014-stream.phpt
index e8650f7..90192bf 100644
--- a/tests/014-stream.phpt
+++ b/tests/014-stream.phpt
@@ -12,6 +12,8 @@ $n = "rpm://" . __DIR__ . "/bidon.rpm#/usr/share/doc/bidon/README";
var_dump(in_array('rpm', stream_get_wrappers()));
var_dump($f = fopen($n, "r"));
+$s = fstat($f);
+var_dump($s['size'], $s['mode']);
var_dump(trim(fread($f, 10)));
var_dump(feof($f));
var_dump(trim(fread($f, 100)));
@@ -26,6 +28,8 @@ Done
--EXPECTF--
bool(true)
resource(%d) of type (stream)
+int(29)
+int(33188)
string(10) "Mon Feb 12"
bool(false)
string(17) "13:27:47 CET 2018"