1--TEST--
2enable_post_data_reading: using multiple input streams
3--INI--
4enable_post_data_reading=0
5max_execution_time=2
6--POST_RAW--
7Content-Type: application/unknown
8One line of data
9--FILE--
10<?php
11echo "Test\n";
12
13$f1 = fopen("php://input", "r");
14$f2 = fopen("php://input", "r");
15
16while (!feof($f1) && !feof($f2)) {
17    echo fgetc($f1), fgetc($f2);
18}
19
20?>
21
22Done
23--EXPECT--
24Test
25OOnnee  lliinnee  ooff  ddaattaa
26Done
27