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