1--TEST-- 2Test ReflectionZendExtension class 3--CREDITS-- 4Gabriel Caruso (carusogabriel34@gmail.com) 5--SKIPIF-- 6<?php if(!extension_loaded('Zend OPcache')) die('skip Zend OPcache extension not loaded'); ?> 7--FILE-- 8<?php 9$reflection = new ReflectionZendExtension('Zend OPcache'); 10var_dump($reflection->getAuthor()); 11var_dump($reflection->getCopyright()); 12var_dump($reflection->getName()); 13var_dump($reflection->getURL()); 14var_dump($reflection->getVersion() === PHP_VERSION); 15?> 16--EXPECT-- 17string(17) "Zend Technologies" 18string(13) "Copyright (c)" 19string(12) "Zend OPcache" 20string(20) "http://www.zend.com/" 21bool(true) 22