mirror of
https://github.com/php/php-src.git
synced 2025-01-10 04:54:47 +08:00
19d0c5dc9f
The issue itself has been fixed by 8a4532319d
.
27 lines
425 B
PHP
27 lines
425 B
PHP
--TEST--
|
|
Bug #75681: Warning: Narrowing occurred during type inference (specific case)
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
function foobar()
|
|
{
|
|
do {
|
|
foreach ($a as $i => $_) {
|
|
$a[$i][0] += 1;
|
|
}
|
|
|
|
$a[] = array(0, 0);
|
|
} while ($x !== false);
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|