mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
14 lines
266 B
Plaintext
14 lines
266 B
Plaintext
|
--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)
|
||
|
|