--- /dev/null
+--TEST--
+http_send_file() NIL-NUM range
+--SKIPIF--
+<?php
+include 'skip.inc';
+?>
+--ENV--
+HTTP_RANGE=bytes=-9
+--FILE--
+<?php
+http_send_file('data.txt');
+?>
+--EXPECTF--
+Status: 206
+Content-type: text/html
+X-Powered-By: PHP/%s
+Accept-Ranges: bytes
+Content-Range: bytes 1001-1009/1010
+
+23456789