xref: /PHP-8.1/ext/opcache/tests/bug69549.phpt (revision e9f783fc)
1--TEST--
2Bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11$a = array(true);
12if($a[0] && false) {
13  echo 'test';
14}
15echo "ok\n";
16?>
17--EXPECT--
18ok
19