fix type
[m6w6/ext-http] / tests / send_file_013.phpt
index 1315488102b109f7077469a72c3cf02089f3c674..cd3f3cba9cb9447aec8b3105bb247c0823934d09 100644 (file)
@@ -4,14 +4,16 @@ http_send_file() oversized range
 <?php 
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin("5.2.5");
 ?>
+--ENV--
+HTTP_RANGE=bytes=-1111
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=-1111';
 http_send_file('data.txt');
 ?>
 --EXPECTF--
 Status: 416
 X-Powered-By: PHP/%s
+Accept-Ranges: bytes
 Content-type: %s