php-src/ext/reflection/tests/014.phpt
2012-10-10 10:27:49 +08:00

14 lines
266 B
PHP

--TEST--
ReflectionExtension::getConstants()
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
$ext = new ReflectionExtension("standard");
$consts = $ext->getConstants();
var_dump($consts["CONNECTION_NORMAL"]);
?>
--EXPECT--
int(0)