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