ReflectionExtension::__construct

(PHP 5, PHP 7)

ReflectionExtension::__constructConstructs a ReflectionExtension

설명

public ReflectionExtension::__construct ( string $name )

Construct a ReflectionExtension object.

인수

name

Name of the extension.

예제

Example #1 ReflectionExtension example

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

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

위 예제의 출력 예시:

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

참고

add a note add a note

User Contributed Notes

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