PHP function fread()
Availability in PHP 4.0
Binary-safe file read
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$handle |
resource |
not | |
$length |
int |
not | Up to length number of bytes read. |
Return values
string
|bool the read string or false on failure.