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"

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top