1--TEST-- 2ReflectionExtension::getFunctions() ##6218 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$r = new ReflectionExtension('standard'); 11$t = $r->getFunctions(); 12var_dump($t['dl']); 13?> 14Done 15--EXPECTF-- 16object(ReflectionFunction)#%d (1) { 17 ["name"]=> 18 string(2) "dl" 19} 20Done 21