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.

Other resources

Official fread documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.