- take advantage of constified ZEND_API
[m6w6/ext-http] / tests / send_ifrange_001.phpt
index 4328226dd000bbb8902b8ca93831762458eab912..8f85abf8669d9eb7cd71514a434aa90b165438f4 100644 (file)
@@ -4,11 +4,13 @@ http_send() If-Range
 <?php
 include 'skip.inc';
 checkcgi();
+checkmin(5);
 ?>
+--ENV--
+HTTP_RANGE=bytes=0-1
+HTTP_IF_RANGE="abc"
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-1';
-$_SERVER['HTTP_IF_RANGE'] = '"abc"';
 http_cache_etag('abc');
 http_send_file(__FILE__);
 ?>