(PHP 5, PHP 7)
ReflectionExtension::__construct — Constructs a ReflectionExtension
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 $)