mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00

This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
17 lines
323 B
PHP
17 lines
323 B
PHP
--TEST--
|
|
Test ReflectionZendExtension class errors
|
|
--CREDITS--
|
|
Gabriel Caruso (carusogabriel34@gmail.com)
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
new ReflectionZendExtension('zend_opcache');
|
|
} catch (ReflectionException $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Zend Extension "zend_opcache" does not exist
|