php-src/ext/reflection/tests/013.phpt
2018-10-14 19:44:14 +02:00

14 lines
256 B
PHP

--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