summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/015.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/015.phpt')
-rw-r--r--ext/reflection/tests/015.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/reflection/tests/015.phpt b/ext/reflection/tests/015.phpt
new file mode 100644
index 0000000..b172362
--- /dev/null
+++ b/ext/reflection/tests/015.phpt
@@ -0,0 +1,15 @@
+--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"
+