From: Christoph M. Becker Date: Wed, 31 Aug 2016 12:53:53 +0000 (+0200) Subject: Merge branch 'PHP-5.6' into PHP-7.0 X-Git-Tag: php-7.0.11~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=874697e30a5da3bf8959f274096a7237238769b5;p=php Merge branch 'PHP-5.6' into PHP-7.0 (cherry picked from commit 8f32d609c586fdaab200d50377eb8b2e2667d2d2) --- diff --git a/ext/standard/file.c b/ext/standard/file.c index e228ce6121..5b051774c9 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1547,7 +1547,7 @@ PHP_NAMED_FUNCTION(php_if_ftruncate) } if (size < 0) { - php_error_docref(NULL, E_WARNING, "Negative size is not supported"); + /* php_error_docref(NULL, E_WARNING, "Negative size is not supported"); */ RETURN_FALSE; }