PHP function feof()
Availability in PHP 4.0
Tests for end-of-file on a file pointer
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$handle |
resource |
not |
Return values
bool
true if the file pointer is at EOF or an error occurs (including socket timeout); otherwise returns false.