--TEST--
-http_send_data() HTTP_SENDBUF_SIZE long string
+http_send_data() multiple ranges
--SKIPIF--
<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
+--ENV--
+HTTP_RANGE=bytes=0-0,-1
--FILE--
<?php
-http_throttle(0.01, 20);
-http_send_data('00000000000000000000');
+http_send_content_type('text/plain');
+http_send_data("01");
?>
--EXPECTF--
-Content-type: text/html
+Status: 206%s
X-Powered-By: PHP/%s
Accept-Ranges: bytes
+Content-Type: multipart/byteranges; boundary=%d.%d
-00000000000000000000
\ No newline at end of file
+
+--%d.%d
+Content-Type: text/plain
+Content-Range: bytes 0-0/2
+
+0
+--%d.%d
+Content-Type: text/plain
+Content-Range: bytes 1-1/2
+
+1
+--%d.%d--