summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug39673.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/bug39673.phpt')
-rw-r--r--ext/standard/tests/file/bug39673.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/file/bug39673.phpt b/ext/standard/tests/file/bug39673.phpt
index 3836f2103d..00c29b28da 100644
--- a/ext/standard/tests/file/bug39673.phpt
+++ b/ext/standard/tests/file/bug39673.phpt
@@ -22,14 +22,14 @@ $offsets = array(
foreach ($offsets as $offset) {
$r = file_get_contents($filename, false, null, $offset);
- var_dump(strlen($r));
+ if ($r !== false) var_dump(strlen($r));
}
@unlink($filename);
echo "Done\n";
?>
---EXPECTF--
-int(13824)
+--EXPECTF--
+int(1)
int(13824)
int(0)
int(1)