ReflectionExtension::getVersion

(PHP 5, PHP 7)

ReflectionExtension::getVersionGets extension version

Opis

public ReflectionExtension::getVersion ( void ) : string

Gets the version of the extension.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

The version of the extension.

Przykłady

Przykład #1 ReflectionExtension::getVersion() example

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

Powyższy przykład wyświetli coś podobnego do:

string(3) "0.1"

Zobacz też:

add a note add a note

User Contributed Notes

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