mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
39131219e8
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
22 lines
534 B
PHP
22 lines
534 B
PHP
--TEST--
|
|
Test ReflectionZendExtension class
|
|
--CREDITS--
|
|
Gabriel Caruso (carusogabriel34@gmail.com)
|
|
--EXTENSIONS--
|
|
opcache
|
|
--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--
|
|
string(17) "Zend Technologies"
|
|
string(13) "Copyright (c)"
|
|
string(12) "Zend OPcache"
|
|
string(20) "http://www.zend.com/"
|
|
bool(true)
|