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