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