2018-03-05 08:51:58 +00:00
|
|
|
--TEST--
|
|
|
|
Test ReflectionZendExtension class
|
|
|
|
--CREDITS--
|
|
|
|
Gabriel Caruso (carusogabriel34@gmail.com)
|
2021-06-11 10:58:44 +00:00
|
|
|
--EXTENSIONS--
|
|
|
|
opcache
|
2018-03-05 08:51:58 +00:00
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$reflection = new ReflectionZendExtension('Zend OPcache');
|
|
|
|
var_dump($reflection->getAuthor());
|
|
|
|
var_dump($reflection->getCopyright());
|
|
|
|
var_dump($reflection->getName());
|
|
|
|
var_dump($reflection->getURL());
|
|
|
|
var_dump($reflection->getVersion() === PHP_VERSION);
|
|
|
|
?>
|
2020-06-29 19:31:44 +00:00
|
|
|
--EXPECT--
|
2018-03-05 08:51:58 +00:00
|
|
|
string(17) "Zend Technologies"
|
2019-02-03 21:47:49 +00:00
|
|
|
string(13) "Copyright (c)"
|
2018-03-05 08:51:58 +00:00
|
|
|
string(12) "Zend OPcache"
|
|
|
|
string(20) "http://www.zend.com/"
|
|
|
|
bool(true)
|