26 lines
363 B
PHP
26 lines
363 B
PHP
--TEST--
|
|
Bug #72762: Infinite loop while parsing a file with opcache enabled
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
class foo
|
|
{
|
|
function bar()
|
|
{
|
|
$b = array();
|
|
|
|
foreach ($a as $a) {
|
|
foreach ($b as $k => $v) {
|
|
}
|
|
$b[$k] = $v;
|
|
}
|
|
}
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|