mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
22 lines
367 B
PHP
22 lines
367 B
PHP
--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
|
|
--EXPECT--
|
|
dl Ok
|
|
Done
|