summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-31 16:43:54 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-31 16:45:15 +0200
commit9cc11dbded25c1071ac91d6506d064db6aaf0199 (patch)
tree60e9b5160cd066bb43f3b5a1e3260abb989d488b
parentcb78ea9cc32d5c29a5425f1e4fba58ae4ae4e2fe (diff)
parentf93fd8ce3278923dce16b241aebe428a6b9aa79d (diff)
downloadphp-git-9cc11dbded25c1071ac91d6506d064db6aaf0199.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
-rw-r--r--ext/standard/tests/file/bug71882.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug71882.phpt b/ext/standard/tests/file/bug71882.phpt
index ae0137b599..c132aa95c7 100644
--- a/ext/standard/tests/file/bug71882.phpt
+++ b/ext/standard/tests/file/bug71882.phpt
@@ -3,9 +3,10 @@ Bug #71882 (Negative ftruncate() on php://memory exhausts memory)
--FILE--
<?php
$fd = fopen("php://memory", "w+");
-ftruncate($fd, -1);
+var_dump(ftruncate($fd, -1));
?>
==DONE==
--EXPECTF--
Warning: ftruncate(): Negative size is not supported in %s%ebug71882.php on line %d
+bool(false)
==DONE==