summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionZendExtension_error.phpt
blob: efce02640b933803d9191087d9ab7df96c40d202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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