Function

fread

Synopsis

fread(object, int): mixed

Area
Runtime\PS\Files\freadareas

Description

fread reads at most $length bytes from $stream and returns them, or false when reading the handle fails; a read at the end of the handle returns the empty string, which ends a loop reading to the end.

Usage

$value = fread($arguments);
$fn = fread(...);

See also