--TEST-- Test parse_str() function : test with badly formed strings --FILE-- --EXPECTF-- Test string with badly formed strings NULL array(2) { ["arr_1"]=> string(3) "sid" ["arr"]=> array(1) { [4]=> string(4) "fred" } } NULL array(2) { ["arr1]"]=> string(3) "sid" ["arr"]=> array(1) { [4]=> string(4) "fred" } } NULL array(2) { ["arr_one"]=> string(3) "sid" ["arr"]=> array(1) { [4]=> string(4) "fred" } } Test string with badly formed % numbers NULL array(3) { ["first"]=> string(1) "A" ["second"]=> string(2) "%a" ["third"]=> string(2) "%b" } Test string with non-binary safe name NULL array(1) { ["arr_test"]=> array(2) { [1]=> string(3) "sid" [4]=> array(1) { ["two"]=> string(4) "fred" } } }