mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
14 lines
266 B
PHP
Executable File
14 lines
266 B
PHP
Executable File
--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)
|
|
|