php[world] 2018 - Call for Speakers


(PHP 5)

ReflectionExtension::getClassNamesGets class names


public array ReflectionExtension::getClassNames ( void )

Gets a listing of class names as defined in the extension.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

An array of class names, as defined in the extension. If no classes are defined, an empty array is returned.


Example #1 ReflectionExtension::getClassNames() example

= new ReflectionExtension('XMLWriter');

Il precedente esempio visualizzerà qualcosa simile a:

array(1) {
  string(9) "XMLWriter"

Vedere anche:

add a note add a note

User Contributed Notes

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