summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/015.phpt
blob: 4917e635336e4ae2d072974cfe27c29743e33729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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"