10 var_dump(http_parse_params('text/html; charset=iso-8859-1'));
11 var_dump(http_parse_params('text/html; charset="iso-8859-1"'));
12 var_dump(http_parse_params('attachment; filename="gol;got,a.ext"'));
13 var_dump(http_parse_params('public, must-revalidate, max-age=0'));
14 var_dump(http_parse_params('a')->params[0]);
15 var_dump(http_parse_params('a=b')->params[0]);
19 object(stdClass)#%d (%d) {
27 string(10) "iso-8859-1"
31 object(stdClass)#%d (%d) {
39 string(10) "iso-8859-1"
43 object(stdClass)#%d (%d) {
47 string(10) "attachment"
51 string(13) "gol;got,a.ext"
55 object(stdClass)#%d (%d) {
61 string(15) "must-revalidate"