![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: ReflectionExtension::getConstants() 3: --SKIPIF-- 4: <?php extension_loaded('reflection') or die('skip'); ?> 5: --FILE-- 6: <?php 7: $ext = new ReflectionExtension("standard"); 8: $consts = $ext->getConstants(); 9: var_dump($consts["CONNECTION_NORMAL"]); 10: ?> 11: --EXPECT-- 12: int(0) 13: