From 1bf996b32427e6cac762aafc23bdac7c3c50715f Mon Sep 17 00:00:00 2001 From: Tjerk Meesters Date: Sat, 30 Aug 2014 18:18:42 +0800 Subject: [PATCH] Added test case --- .../parse_ini_string_003.phpt | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ext/standard/tests/general_functions/parse_ini_string_003.phpt diff --git a/ext/standard/tests/general_functions/parse_ini_string_003.phpt b/ext/standard/tests/general_functions/parse_ini_string_003.phpt new file mode 100644 index 0000000000..570570dbfe --- /dev/null +++ b/ext/standard/tests/general_functions/parse_ini_string_003.phpt @@ -0,0 +1,40 @@ +--TEST-- +parse_ini_string() typed scanner mode +--FILE-- + +Done +--EXPECTF-- +array(4) { + ["foo"]=> + int(1) + ["bar"]=> + float(1.3) + ["baz"]=> + NULL + ["qux"]=> + array(4) { + [0]=> + bool(false) + [1]=> + bool(false) + [2]=> + string(9) "something" + [3]=> + string(14) "something else" + } +} +Done -- 2.40.0