xref: /PHP-7.2/ext/reflection/tests/013.phpt (revision f1d7e3ca)
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