php-src/ext/reflection/tests/019.phpt
2012-10-10 10:27:49 +08:00

12 lines
236 B
PHP

--TEST--
ReflectionFunction::getExtensionName
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
$f = new ReflectionFunction("sleep");
var_dump($f->getExtensionName());
?>
--EXPECT--
string(8) "standard"