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

1.1       misho       1: --TEST--
                      2: rfc1867 post_max_size
                      3: --INI--
                      4: post_max_size=1
                      5: error_reporting=E_ALL&~E_NOTICE
                      6: comment=debug builds show some additional E_NOTICE errors
                      7: --POST_RAW--
                      8: Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
                      9: -----------------------------20896060251896012921717172737
                     10: Content-Disposition: form-data; name="foobar"
                     11: 
                     12: 1
                     13: -----------------------------20896060251896012921717172737--
                     14: --FILE--
                     15: <?php
                     16: var_dump($_FILES);
                     17: var_dump($_POST);
                     18: ?>
                     19: --EXPECTF--
                     20: Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
                     21: array(0) {
                     22: }
                     23: array(0) {
                     24: }

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