©
This document uses PHP Chinese website manual Release
(PHP 5)
ReflectionExtension::getName — Gets extension name
Gets the extensions name.
此函数没有参数。
The extensions name.
Example #1 ReflectionExtension::getName() example
<?php
$ext = new ReflectionExtension ( 'mysqli' );
var_dump ( $ext -> getName ());
?>
以上例程的输出类似于:
string(6) "mysqli"