php-src/ext/reflection/tests/015.phpt
2007-04-12 12:43:54 +00:00

18 lines
319 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"
--UEXPECT--
unicode(3) "php"