com php-src: Update NEWs (added bug entry): NEWS ext/opcache/tests/bug75570.phpt ext/opcache/tests/ssa_bug_ 011.phpt

From: Date: Tue, 28 Nov 2017 05:15:54 +0000
Subject: com php-src: Update NEWs (added bug entry): NEWS ext/opcache/tests/bug75570.phpt ext/opcache/tests/ssa_bug_ 011.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100394@lists.php.net to get a copy of this message
Commit: ee9e32caca08262de878395f6aff3eed54fc5740 Author: Xinchen Hui <laruence@gmail.com> Tue, 28 Nov 2017 13:15:54 +0800 Parents: 06202f0feba76a6248dbece73fc28c678b4cf57a Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ee9e32caca08262de878395f6aff3eed54fc5740 Log: Update NEWs (added bug entry) Changed paths: M NEWS A ext/opcache/tests/bug75570.phpt D ext/opcache/tests/ssa_bug_011.phpt Diff: diff --git a/NEWS b/NEWS index 127da10..2114a0f 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,10 @@ PHP NEWS . Fixed bug #60471 (Random "Invalid request (unexpected EOF)" using a router script). (SammyK) +- Opcache: + . Fixed bug #75570 ("Narrowing occurred during type inference" error). + (Dmitry) + - PCRE: . Fixed bug #74183 (preg_last_error not returning error code after error). (Andrew Nester) diff --git a/ext/opcache/tests/bug75570.phpt b/ext/opcache/tests/bug75570.phpt new file mode 100644 index 0000000..7d23ce7 --- /dev/null +++ b/ext/opcache/tests/bug75570.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #75570 ("Narrowing occurred during type inference" error) +--FILE-- +<?php +function renderRawGraph(array $parents) { + $graph = array(); + foreach ($parents as $p) { + foreach ($graph as $v) { + $graph[$v]['line'] = 1; + } + $graph[] = array( + 'line' => 1, + ); + } +} +?> +OK +--EXPECT-- +OK diff --git a/ext/opcache/tests/ssa_bug_011.phpt b/ext/opcache/tests/ssa_bug_011.phpt deleted file mode 100644 index 58f3980..0000000 --- a/ext/opcache/tests/ssa_bug_011.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Type inference warning ---FILE-- -<?php -function renderRawGraph(array $parents) { - $graph = array(); - foreach ($parents as $p) { - foreach ($graph as $v) { - $graph[$v]['line'] = 1; - } - $graph[] = array( - 'line' => 1, - ); - } -} -?> -OK ---EXPECT-- -OK

« previous php.cvs (#100394) next »