mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
18 lines
402 B
PHP
18 lines
402 B
PHP
--TEST--
|
|
Test ReflectionZendExtension class erros
|
|
--CREDITS--
|
|
Gabriel Caruso (carusogabriel34@gmail.com)
|
|
--SKIPIF--
|
|
<?php if(!extension_loaded('Zend OPcache')) die('skip Zend OPcache extension not loaded'); ?>
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
new ReflectionZendExtension('zend_opcache');
|
|
} catch (ReflectionException $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Zend Extension zend_opcache does not exist
|