xref: /PHP-8.0/ext/opcache/tests/bug69549.phpt (revision ecae9100)
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--SKIPIF--
8<?php require_once('skipif.inc'); ?>
9--FILE--
10<?php
11$a = array(true);
12if($a[0] && false) {
13  echo 'test';
14}
15echo "ok\n";
16?>
17--EXPECT--
18ok
19