관리-도구
편집 파일: envresponseranges001.phpt
--TEST-- ranges --SKIPIF-- <?php include "skipif.inc"; ?> --GET-- a=b --ENV-- HTTP_RANGE=bytes=-3,000-001,1-1,0-0,100- --FILE-- <?php $r = new http\Env\Response; $r->setBody(new http\Message\Body(fopen(__FILE__, "rb"))); $r->send(); ?> --EXPECTF-- --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 107-109/110%c %c ?> %c --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 0-1/110%c %c <?%c --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 1-1/110%c %c ?%c --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 0-0/110%c %c <%c --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 100-109/110%c %c nd(); ?> %c --%s--