mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
16 lines
289 B
Plaintext
16 lines
289 B
Plaintext
|
--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"
|
||
|
|