ReflectionExtension::getName

(PHP 5, PHP 7, PHP 8)

ReflectionExtension::getNameGets extension name

Descrição

public ReflectionExtension::getName ( ) : string

Gets the extensions name.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The extensions name.

Exemplos

Exemplo #1 ReflectionExtension::getName() example

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

O exemplo acima irá imprimir algo similar à:

string(6) "mysqli"

Veja Também

add a note add a note

User Contributed Notes

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