xref: /PHP-7.1/ext/reflection/tests/013.phpt (revision 113213f0)
1--TEST--
2ReflectionExtension::getFunctions()
3--SKIPIF--
4<?php extension_loaded('reflection') or die('skip'); ?>
5--FILE--
6<?php
7$ext = new ReflectionExtension("standard");
8$funcs = $ext->getFunctions();
9echo $funcs["sleep"]->getName();
10?>
11--EXPECT--
12sleep
13