php-src/ext/reflection/tests/ReflectionZendExtension_error.phpt
Nikita Popov 39131219e8
Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

18 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