1--TEST--
2JIT BOOL_NOT: 001 Memory leak in case of reference to bool
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8opcache.protect_memory=1
9opcache.jit=function
10--EXTENSIONS--
11opcache
12--FILE--
13<?php
14function test() {
15    $a = true;
16    var_dump(!$b =& $a);
17}
18test();
19?>
20--EXPECT--
21bool(false)
22