mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
17 lines
351 B
PHP
17 lines
351 B
PHP
--TEST--
|
|
ReflectionExtension::getVersion()
|
|
--CREDITS--
|
|
Gerrit "Remi" te Sligte <remi@wolerized.com>
|
|
Leon Luijkx <leon@phpgg.nl>
|
|
--FILE--
|
|
<?php
|
|
$obj = new ReflectionExtension('reflection');
|
|
$var = $obj->getVersion() ? $obj->getVersion() : null;
|
|
$test = floatval($var) == $var ? true : false;
|
|
var_dump($test);
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
bool(true)
|
|
==DONE==
|