1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Files
archived-php-src/ext/opcache/tests/jit/fetch_obj_010.phpt
Daniil Gentili 2ca142ecd8 Improve jit tests
Closes GH-12425
2023-11-14 20:09:27 +01:00

20 lines
288 B
PHP

--TEST--
JIT: FETCH_OBJ 010
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function foo() {
for($cnt=0;$cnt<3;$cnt++) {
$obj->ary["bas"] ??= $obj = new stdClass;
}
}
foo();
?>
DONE
--EXPECT--
DONE