xref: /PHP-7.2/ext/reflection/tests/014.phpt (revision f1d7e3ca)
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