php-src/ext/reflection/tests/013.phpt

14 lines
257 B
Plaintext
Raw Normal View History

2008-08-11 14:00:02 +00:00
--TEST--
ReflectionExtension::getFunctions()
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
$ext = new ReflectionExtension("standard");
$funcs = $ext->getFunctions();
echo $funcs["sleep"]->getName();
?>
--EXPECT--
sleep