xref: /PHP-8.0/Zend/tests/bug66218.phpt (revision f8d79582)
1--TEST--
2Bug #66218 zend_register_functions breaks reflection
3--SKIPIF--
4<?php
5if (!function_exists("dl")) die("skip need dl");
6?>
7--FILE--
8<?php
9$tab = get_extension_funcs("standard");
10$fcts = array("dl");
11foreach ($fcts as $fct) {
12    if (in_array($fct, $tab)) {
13        echo "$fct Ok\n";
14    }
15}
16?>
17Done
18--EXPECT--
19dl Ok
20Done
21