mirror of
https://github.com/php/php-src.git
synced 2026-04-04 22:52:40 +02:00
20 lines
287 B
PHP
20 lines
287 B
PHP
--TEST--
|
|
JIT: FETCH_OBJ 010
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.file_update_protection=0
|
|
opcache.jit_buffer_size=1M
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
for($cnt=0;$cnt<3;$cnt++) {
|
|
$obj->ary["bas"] ??= $obj = new stdClass;
|
|
}
|
|
}
|
|
foo();
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|