diff options
-rw-r--r-- | ext/standard/tests/file/bug71882.phpt | 4 |
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== |