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.

Other resources

Official feof documentation

Newsletter

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