mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
1e55c97601
Fixes oss-fuzz #64577, #64579, #64589
24 lines
380 B
PHP
24 lines
380 B
PHP
--TEST--
|
|
Type inference 024: FETCH_DIM_W
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
for ($cnt = 0; $cnt < 6; $cnt++) {
|
|
$b = new SplFixedArray(1);
|
|
$b[0] = $a;
|
|
$g = &$b[0];
|
|
$b = new SplFixedArray(1);
|
|
$b[0] = $b;
|
|
$g = &$b[0];
|
|
}
|
|
}
|
|
@foo();
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|