No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

ReflectionClass: : getExtensionName

(PHP 5, PHP 7)

ReflectionClass::getExtensionNameGets the name of the extension which defined the class

Description

public ReflectionClass::getExtensionName ( void ) : string

Gets the name of the extension which defined the class.

PHP: ReflectionClass::getExtensionName - Manual Home of Manuel PHP  Contents Haut

Return Values

The name of the extension which defined the class, or FALSE for user-defined classes.

PHP: ReflectionClass::getExtensionName - Manual Home of Manuel PHP  Contents Haut

Examples

Example #1 Basic usage of ReflectionClass::getExtensionName()

<?php
$class 
= new ReflectionClass('ReflectionClass');
$extension $class->getExtensionName();
var_dump($extension);
?>

The above example will output:

string(10) "Reflection"

PHP: ReflectionClass::getExtensionName - Manual Home of Manuel PHP  Contents Haut

See Also

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph