xref: /PHP-5.3/tests/basic/023.phpt (revision 2a2af1bf)
1--TEST--
2Cookies test#2
3--INI--
4magic_quotes_gpc=0
5max_input_vars=1000
6--COOKIE--
7c o o k i e=value; c o o k i e= v a l u e ;;c%20o+o k+i%20e=v;name="value","value",UEhQIQ==;UEhQIQ==foo
8--FILE--
9<?php
10var_dump($_COOKIE);
11?>
12--EXPECT--
13array(3) {
14  ["c_o_o_k_i_e"]=>
15  string(5) "value"
16  ["name"]=>
17  string(24) ""value","value",UEhQIQ=="
18  ["UEhQIQ"]=>
19  string(4) "=foo"
20}
21