File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
basic /
enable_post_data_reading_03.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:34 2012 UTC (12 years, 1 month 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: enable_post_data_reading: always_populate_raw_post_data has no effect (1)
3: --INI--
4: enable_post_data_reading=0
5: always_populate_raw_post_data=1
6: --POST_RAW--
7: Content-Type: application/x-www-form-urlencoded
8: a=1&b=ZYX
9: --FILE--
10: <?php
11: var_dump($_FILES);
12: var_dump($_POST);
13: var_dump($HTTP_RAW_POST_DATA);
14: var_dump(file_get_contents("php://input"));
15: --EXPECTF--
16: array(0) {
17: }
18: array(0) {
19: }
20:
21: Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d
22: NULL
23: string(9) "a=1&b=ZYX"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>