php-8.0.30-src/ext/opcache/tests/jit/assign_052.phpt

21 lines
352 B
PHP

--TEST--
JIT ASSIGN: incorrect reference counting
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
--FILE--
<?php
function foo(){
for($cnt = 0; $cnt < 6; $cnt++) {
$t[$i = $s][] = [] > $n[$i = $j] = $s = $a . $a = $f;
}
}
@foo();
?>
DONE
--EXPECT--
DONE