ReflectionExtension
PHP Manual

ReflectionExtension::getName

(PHP 5)

ReflectionExtension::getNameGets extension name

说明

public string ReflectionExtension::getName ( void )

Gets the extensions name.

参数

此函数没有参数。

返回值

The extensions name.

范例

Example #1 ReflectionExtension::getName() example

<?php
$ext 
= new ReflectionExtension('mysqli');
var_dump($ext->getName());
?>

以上例程的输出类似于:

string(6) "mysqli"

参见


ReflectionExtension
PHP Manual