File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
basic /
024.phpt
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:34 2012 UTC (12 years, 5 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
1: --TEST--
2: Test HTTP_RAW_POST_DATA creation
3: --INI--
4: always_populate_raw_post_data=1
5: max_input_vars=1000
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>