1--TEST--
2Test parse_str() function : non-default arg_separator.input specified
3--INI--
4arg_separator.input = "/"
5--FILE--
6<?php
7/* Prototype  : void parse_str  ( string $str  [, array &$arr  ] )
8 * Description: Parses the string into variables
9 * Source code: ext/standard/string.c
10*/
11
12echo "*** Testing parse_str() : non-default arg_separator.input specified ***\n";
13
14$s1 = "first=val1/second=val2/third=val3";
15var_dump(parse_str($s1, $result));
16var_dump($result);
17
18?>
19===DONE===
20--EXPECT--
21*** Testing parse_str() : non-default arg_separator.input specified ***
22NULL
23array(3) {
24  ["first"]=>
25  string(4) "val1"
26  ["second"]=>
27  string(4) "val2"
28  ["third"]=>
29  string(4) "val3"
30}
31===DONE===
32