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

1.1       misho       1: --TEST--
                      2: enable_post_data_reading: basic test
                      3: --INI--
                      4: enable_post_data_reading=0
                      5: --POST_RAW--
                      6: Content-Type: application/x-www-form-urlencoded
                      7: a=1&b=ZYX
                      8: --FILE--
                      9: <?php
                     10: var_dump($_FILES);
                     11: var_dump($_POST);
                     12: var_dump($HTTP_RAW_POST_DATA);
                     13: var_dump(file_get_contents("php://input"));
                     14: --EXPECTF--
                     15: array(0) {
                     16: }
                     17: array(0) {
                     18: }
                     19: 
                     20: Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d
                     21: NULL
                     22: string(9) "a=1&b=ZYX"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>