ReflectionExtension::__construct

(PHP 5, PHP 7)

ReflectionExtension::__constructConstructs a ReflectionExtension

Opis

public ReflectionExtension::__construct ( string $name )

Construct a ReflectionExtension object.

Parametry

name

Name of the extension.

Zwracane wartości

A ReflectionExtension object.

Przykłady

Przykład #1 ReflectionExtension example

<?php
$ext 
= new ReflectionExtension('Reflection');

printf('Extension: %s (version: %s)'$ext->getName(), $ext->getVersion());
?>

Powyższy przykład wyświetli coś podobnego do:

Extension: Reflection (version: $Revision: 330543 $)

Zobacz też:

add a note add a note

User Contributed Notes

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