Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / tests / basic / rfc1867_post_max_size.phpt
blob92281351df0dd0cbd45b7f3430830ede37b89192
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"
13 -----------------------------20896060251896012921717172737--
14 --FILE--
15 <?php
16 var_dump($_FILES);
17 var_dump($_POST);
19 --EXPECTF--
20 Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
21 array(0) {
23 array(0) {