summaryrefslogtreecommitdiff
path: root/Zend/tests/bug66218.phpt
blob: af7a5ab1d0bf5bbbbbbd90aa29384f9b93de698b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--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