summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-31 16:38:38 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-31 16:38:38 +0200
commitf93fd8ce3278923dce16b241aebe428a6b9aa79d (patch)
tree4b7758af92aeed673b0fb0efc3694724da258e04
parent8f32d609c586fdaab200d50377eb8b2e2667d2d2 (diff)
parentb2d267d9ee034fa6b502901caa9a81bcc2212755 (diff)
downloadphp-git-f93fd8ce3278923dce16b241aebe428a6b9aa79d.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
-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==