--TEST-- Test parse_str() function : test with badly formed strings --FILE-- ===DONE=== --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 string(1) "A" string(2) "%a" 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" } } } ===DONE===