Annotation of embedaddon/php/tests/basic/enable_post_data_reading_03.phpt, revision 1.1.1.1

1.1       misho       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>