diff options
Diffstat (limited to 'Zend/tests/bug66218.phpt')
-rw-r--r-- | Zend/tests/bug66218.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Zend/tests/bug66218.phpt b/Zend/tests/bug66218.phpt new file mode 100644 index 0000000000..af7a5ab1d0 --- /dev/null +++ b/Zend/tests/bug66218.phpt @@ -0,0 +1,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 |