PHP 8.3.4 Released!

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 produzirá algo semelhante a:

string(6) "mysqli"

Veja Também

add a note

User Contributed Notes

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