Annotation of embedaddon/php/tests/basic/rfc1867_missing_boundary_2.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: rfc1867 missing boundary 2
3: --INI--
4: file_uploads=1
5: error_reporting=E_ALL&~E_NOTICE
6: comment=debug builds show some additional E_NOTICE errors
7: upload_max_filesize=1024
8: --POST_RAW--
9: Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
10: -----------------------------20896060251896012921717172737
11: Content-Disposition: form-data; name="file1"; filename="file1.txt"
12: Content-Type: text/plain-file1
13:
14: 1
15: --FILE--
16: <?php
17: var_dump($_FILES);
18: var_dump($_POST);
19: ?>
20: --EXPECTF--
21: array(1) {
22: [%u|b%"file1"]=>
23: array(5) {
24: [%u|b%"name"]=>
25: %string|unicode%(9) "file1.txt"
26: [%u|b%"type"]=>
27: %string|unicode%(0) ""
28: [%u|b%"tmp_name"]=>
29: %string|unicode%(0) ""
30: [%u|b%"error"]=>
31: int(3)
32: [%u|b%"size"]=>
33: int(0)
34: }
35: }
36: array(0) {
37: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>