com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/tests/file/bug71882.phpt
| From: | Anatol Belski | Date: | Sun, 11 Sep 2016 10:59:43 +0000 |
| Subject: | com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/tests/file/bug71882.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94418@lists.php.net to get a copy of this message | ||
Commit: 2970630133dc22a364f258a0b25ed71be260af24
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 31 Aug 2016 16:38:38 +0200
Committer: Anatol Belski <ab@php.net> Sun, 11 Sep 2016 12:59:43 +0200
Parents: 874697e30a5da3bf8959f274096a7237238769b5
Branches: PHP-7.0.11
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2970630133dc22a364f258a0b25ed71be260af24
Log:
Merge branch 'PHP-5.6' into PHP-7.0
(cherry picked from commit f93fd8ce3278923dce16b241aebe428a6b9aa79d)
Changed paths:
M ext/standard/tests/file/bug71882.phpt
Diff:
diff --git a/ext/standard/tests/file/bug71882.phpt b/ext/standard/tests/file/bug71882.phpt
index ae0137b..3cb6d85 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==