Function
feof
Synopsis
feof(mixed): bool
- Area
Runtime\PS\Files\feofareas
Description
feof reports whether $stream is at its end. It answers for a handle fopen() gave out, by comparing where the handle sits against how long the file is; php://input and php://output are not seekable and answer false and a script draining the request body should read it with stream_get_contents.
Usage
$value = feof($arguments);
$fn = feof(...);