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);
15var_dump(gettype($reflection->export('Zend OPcache', true)) === 'string');
16?>
17--EXPECTF--
18string(17) "Zend Technologies"
19string(13) "Copyright (c)"
20string(12) "Zend OPcache"
21string(20) "http://www.zend.com/"
22bool(true)
23
24Deprecated: Function ReflectionZendExtension::export() is deprecated in %s on line %d
25bool(true)
26