xref: /PHP-8.4/ext/opcache/tests/jit/and_002.phpt (revision c16ad918)
1--TEST--
2JIT BW_AND: 002 (memory leak)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9function t($a) {
10    for($i = 0; $i < 2; $i++)
11        $a &= $a = $a;
12    }
13t("");
14?>
15DONE
16--EXPECTF--
17DONE
18