update : 2015.11.03
php.shukuma.com

검색:
 
 
Constructs a ReflectionExtension

ReflectionExtension::__construct

(PHP 5)

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 $)

참고