mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
16 lines
289 B
PHP
Executable File
16 lines
289 B
PHP
Executable File
--TEST--
|
|
ReflectionExtension::getINIEntries()
|
|
--SKIPIF--
|
|
<?php extension_loaded('reflection') or die('skip'); ?>
|
|
--INI--
|
|
user_agent=php
|
|
--FILE--
|
|
<?php
|
|
$ext = new ReflectionExtension("standard");
|
|
$inis = $ext->getINIEntries();
|
|
var_dump($inis["user_agent"]);
|
|
?>
|
|
--EXPECT--
|
|
string(3) "php"
|
|
|