12 $q = new HttpQueryString(false, $array = array('a'=>'b','c'=>'3.4','r'=>array(1,2,3)));
14 var_dump($q->get('n'));
15 var_dump($q->get('a'));
16 var_dump($q->get('a', "i", 0, true));
17 var_dump($q->get('a', "string", 'hi!'));
18 var_dump($q->get('c'));
19 var_dump($q->get('c', HttpQueryString::TYPE_INT));
20 var_dump($q->get('c', HttpQueryString::TYPE_FLOAT));
21 var_dump($q->get('c', HttpQueryString::TYPE_BOOL));
22 var_dump($q->get('r'));
23 var_dump($q->get('r', HttpQueryString::TYPE_ARRAY));
24 var_dump($q->get('r', HttpQueryString::TYPE_OBJECT));
27 $q->set(array('a'=>'b', 'c'=> "3.4"));
28 $q->set(array('a' => NULL));
37 string(42) "a=b&c=3.4&r%5B0%5D=1&r%5B1%5D=2&r%5B2%5D=3"
62 object(stdClass)#%d (%d) {
70 object(HttpQueryString)#1 (2) {
71 ["queryArray:private"]=>
90 ["queryString:private"]=>
91 string(49) "c=3.4&r%5B0%5D=1&r%5B1%5D=2&r%5B2%5D=3&z%5B0%5D=2"