1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/opcache/tests/bug66334.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

21 lines
360 B
PHP

--TEST--
Bug #66334 (Memory Leak in new pass1_5.c optimizations)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
opcache.file_update_protection=0
enable_dl=0
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
if (extension_loaded("unknown_extension")) {
var_dump(1);
} else {
var_dump(2);
}
?>
--EXPECT--
int(2)