ReflectionExtension_getVersion_basic.phpt 351 B

12345678910111213141516
  1. --TEST--
  2. ReflectionExtension::getVersion()
  3. --CREDITS--
  4. Gerrit "Remi" te Sligte <remi@wolerized.com>
  5. Leon Luijkx <leon@phpgg.nl>
  6. --FILE--
  7. <?php
  8. $obj = new ReflectionExtension('reflection');
  9. $var = $obj->getVersion() ? $obj->getVersion() : null;
  10. $test = floatval($var) == $var ? true : false;
  11. var_dump($test);
  12. ?>
  13. ==DONE==
  14. --EXPECT--
  15. bool(true)
  16. ==DONE==