xref: /PHP-7.2/ext/opcache/tests/bug66334.phpt (revision ccb29a6e)
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--SKIPIF--
10<?php require_once('skipif.inc'); ?>
11--FILE--
12<?php
13if (extension_loaded("unknown_extension")) {
14	var_dump(1);
15} else {
16	var_dump(2);
17}
18--EXPECT--
19int(2)
20