fis querystring offset set bug
[m6w6/ext-http] / tests / cookie004.phpt
1 --TEST--
2 cookies raw
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --FILE--
8 <?php
9 echo "Test\n";
10
11 $c = new http\Cookie("1=%20; 2=%22; e3=%5D", http\Cookie::PARSE_RAW, array(2));
12 var_dump("1=%2520; e3=%255D; 2=%2522; " === (string) $c);
13
14 ?>
15 DONE
16 --EXPECT--
17 Test
18 bool(true)
19 DONE