ReflectionExtension::__construct

(PHP 5, PHP 7)

ReflectionExtension::__constructConstructs a ReflectionExtension

˵��

public ReflectionExtension::__construct ( string $name )

Construct a ReflectionExtension object.

����

name

��չ�����ơ�

����ֵ

A ReflectionExtension object.

����

Example #1 ReflectionExtension example

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

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

�������̵���������ڣ�

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

�μ�