xref: /PHP-7.4/ext/opcache/tests/bug68104.phpt (revision 00b50850)
1--TEST--
2Bug #68104 (Segfault while pre-evaluating a disabled function)
3--CREDITS--
4manuel <manuel@mausz.at>
5--INI--
6opcache.enable=1
7opcache.enable_cli=1
8disable_functions=dl
9--SKIPIF--
10<?php require_once('skipif.inc'); ?>
11--FILE--
12<?php
13var_dump(is_callable("dl"));
14dl("a.so");
15?>
16--EXPECTF--
17bool(true)
18
19Warning: dl() has been disabled for security reasons in %sbug68104.php on line %d
20