Return to rfc1867_post_max_size.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / basic |
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: }