mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
22 lines
368 B
Plaintext
22 lines
368 B
Plaintext
|
--TEST--
|
||
|
Bug #66218 zend_register_functions breaks reflection
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (PHP_SAPI != "cli") die("skip CLI only test");
|
||
|
if (!function_exists("dl")) die("skip need dl");
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$tab = get_extension_funcs("standard");
|
||
|
$fcts = array("dl");
|
||
|
foreach ($fcts as $fct) {
|
||
|
if (in_array($fct, $tab)) {
|
||
|
echo "$fct Ok\n";
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
Done
|
||
|
--EXPECTF--
|
||
|
dl Ok
|
||
|
Done
|