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