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

19 lines
268 B
PHP

--TEST--
JIT BW_AND: 002 (memory leak)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function t($a) {
for($i = 0; $i < 2; $i++)
$a &= $a = $a;
}
t("");
?>
DONE
--EXPECTF--
DONE