1315488102b109f7077469a72c3cf02089f3c674
[m6w6/ext-http] / tests / send_file_013.phpt
1 --TEST--
2 http_send_file() oversized range
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 checkmin(5.1);
8 ?>
9 --FILE--
10 <?php
11 $_SERVER['HTTP_RANGE'] = 'bytes=-1111';
12 http_send_file('data.txt');
13 ?>
14 --EXPECTF--
15 Status: 416
16 X-Powered-By: PHP/%s
17 Content-type: %s