downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionExtension::export> <ReflectionExtension::__clone
[edit] Last updated: Fri, 24 May 2013

view this page in

ReflectionExtension::__construct

(PHP 5)

ReflectionExtension::__constructConstructs a ReflectionExtension

说明

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

参见



add a note add a note User Contributed Notes ReflectionExtension::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites