mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
16 lines
300 B
PHP
16 lines
300 B
PHP
--TEST--
|
|
ReflectionFunction::getExtensionName()
|
|
--FILE--
|
|
<?php
|
|
function foo() {}
|
|
|
|
$function = new ReflectionFunction('sort');
|
|
var_dump($function->getExtensionName());
|
|
|
|
$function = new ReflectionFunction('foo');
|
|
var_dump($function->getExtensionName());
|
|
?>
|
|
--EXPECT--
|
|
string(8) "standard"
|
|
bool(false)
|
|
|