PHP 8.3.4 Released!

ReflectionExtension::getName

(PHP 5, PHP 7, PHP 8)

ReflectionExtension::getNameGets extension name

Descrizione

public ReflectionExtension::getName(): string

Gets the extensions name.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

The extensions name.

Esempi

Example #1 ReflectionExtension::getName() example

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

Il precedente esempio visualizzerà qualcosa simile a:

string(6) "mysqli"

Vedere anche:

add a note

User Contributed Notes

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