ReflectionExtension::getVersion

(PHP 5)

ReflectionExtension::getVersionGets extension version

Опис

public string ReflectionExtension::getVersion ( void )

Gets the version of the extension.

Параметри

В цієї функції немає параметрів.

Значення, що повертаються

The version of the extension.

Приклади

Приклад #1 ReflectionExtension::getVersion() example

<?php
$ext 
= new ReflectionExtension('mysqli');
var_dump($ext->getVersion());
?>

Наведений вище приклад виведе щось подібне до:

string(3) "0.1"

Прогляньте Також

add a note add a note

User Contributed Notes

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