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.protect_memory=1
8opcache.jit=function
9--EXTENSIONS--
10opcache
11--FILE--
12<?php
13function test() {
14    $a = true;
15    var_dump(!$b =& $a);
16}
17test();
18?>
19--EXPECT--
20bool(false)
21