1--TEST--
2session rfc1867 disabled
3--INI--
4file_uploads=1
5upload_max_filesize=1024
6session.save_path=
7session.name=PHPSESSID
8session.use_strict_mode=0
9session.use_cookies=1
10session.use_only_cookies=0
11session.upload_progress.enabled=0
12session.upload_progress.cleanup=0
13session.upload_progress.prefix=upload_progress_
14session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
15session.upload_progress.freq=1%
16session.save_handler=files
17--EXTENSIONS--
18session
19--SKIPIF--
20<?php include('skipif.inc'); ?>
21--COOKIE--
22PHPSESSID=rfc1867-disabled
23--GET--
24PHPSESSID=rfc1867-disabled-get
25--POST_RAW--
26Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
27-----------------------------20896060251896012921717172737
28Content-Disposition: form-data; name="PHPSESSID"
29
30rfc1867-disabled-post
31-----------------------------20896060251896012921717172737
32Content-Disposition: form-data; name="file1"; filename="file1.txt"
33
341
35-----------------------------20896060251896012921717172737
36Content-Disposition: form-data; name="file2"; filename="file2.txt"
37
382
39-----------------------------20896060251896012921717172737--
40--FILE--
41<?php
42session_start();
43var_dump(session_id());
44var_dump($_FILES);
45var_dump(isset($_SESSION["upload_progress_" . basename(__FILE__)]));
46session_destroy();
47?>
48--EXPECTF--
49string(%d) "rfc1867-disabled"
50array(2) {
51  ["file1"]=>
52  array(6) {
53    ["name"]=>
54    string(9) "file1.txt"
55    ["full_path"]=>
56    string(9) "file1.txt"
57    ["type"]=>
58    string(0) ""
59    ["tmp_name"]=>
60    string(%d) "%s"
61    ["error"]=>
62    int(0)
63    ["size"]=>
64    int(1)
65  }
66  ["file2"]=>
67  array(6) {
68    ["name"]=>
69    string(9) "file2.txt"
70    ["full_path"]=>
71    string(9) "file2.txt"
72    ["type"]=>
73    string(0) ""
74    ["tmp_name"]=>
75    string(%d) "%s"
76    ["error"]=>
77    int(0)
78    ["size"]=>
79    int(1)
80  }
81}
82bool(false)
83