F::range()
Reads a specific byte range from a file
F::range(string $file, int $offset = 0, int|null $length = null): string|false
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $filerequired | string |
no default value | The path to the file |
| $offset | int |
0
|
The byte offset to start reading from |
| $length | intornull |
null
|
The number of bytes to read (null = read to end) |
Return types
stringorfalse