xref: /PHP-5.6/ext/reflection/tests/014.phpt (revision 610c7fbe)
1--TEST--
2ReflectionExtension::getConstants()
3--SKIPIF--
4<?php extension_loaded('reflection') or die('skip'); ?>
5--FILE--
6<?php
7$ext = new ReflectionExtension("standard");
8$consts = $ext->getConstants();
9var_dump($consts["CONNECTION_NORMAL"]);
10?>
11--EXPECT--
12int(0)
13
14