php-src/ext/reflection/tests/ReflectionZendExtension.phpt

22 lines
534 B
Plaintext
Raw Normal View History

2018-03-05 08:51:58 +00:00
--TEST--
Test ReflectionZendExtension class
--CREDITS--
Gabriel Caruso (carusogabriel34@gmail.com)
--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);
?>
--EXPECT--
2018-03-05 08:51:58 +00:00
string(17) "Zend Technologies"
string(13) "Copyright (c)"
2018-03-05 08:51:58 +00:00
string(12) "Zend OPcache"
string(20) "http://www.zend.com/"
bool(true)