summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-31 16:38:38 +0200
committerAnatol Belski <ab@php.net>2016-09-11 12:59:43 +0200
commit2970630133dc22a364f258a0b25ed71be260af24 (patch)
treeba539e791789d71af265fadafec0c17ea8bda609
parent874697e30a5da3bf8959f274096a7237238769b5 (diff)
downloadphp-git-2970630133dc22a364f258a0b25ed71be260af24.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
(cherry picked from commit f93fd8ce3278923dce16b241aebe428a6b9aa79d)
-rw-r--r--ext/standard/tests/file/bug71882.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/bug71882.phpt b/ext/standard/tests/file/bug71882.phpt
index ae0137b599..3cb6d85240 100644
--- a/ext/standard/tests/file/bug71882.phpt
+++ b/ext/standard/tests/file/bug71882.phpt
@@ -3,9 +3,9 @@ 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==