xref: /PHP-8.2/ext/opcache/tests/bug66334.phpt (revision e9f783fc)
1--TEST--
2Bug #66334 (Memory Leak in new pass1_5.c optimizations)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7opcache.file_update_protection=0
8enable_dl=0
9--EXTENSIONS--
10opcache
11--FILE--
12<?php
13if (extension_loaded("unknown_extension")) {
14    var_dump(1);
15} else {
16    var_dump(2);
17}
18?>
19--EXPECT--
20int(2)
21