Annotation of embedaddon/php/tests/basic/024.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: Test HTTP_RAW_POST_DATA creation
3: --INI--
4: always_populate_raw_post_data=1
1.1.1.2 ! misho 5: max_input_vars=1000
1.1 misho 6: --POST--
7: a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
8: --FILE--
9: <?php
10: var_dump($_POST, $HTTP_RAW_POST_DATA);
11: ?>
12: --EXPECT--
13: array(3) {
14: ["a"]=>
15: string(3) "ABC"
16: ["y"]=>
17: string(3) "XYZ"
18: ["c"]=>
19: array(3) {
20: [0]=>
21: string(1) "1"
22: [1]=>
23: string(1) "2"
24: ["a"]=>
25: string(1) "3"
26: }
27: }
28: string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>