Gen. partnerAlgotech

PHP function feof()

Tests for end-of-file on a file pointer

|
September 11, 2019

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

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.