★ wanayoo — archive 1999 http://uk.php.net/manual/tr/function.feof.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<fclosefflush>
view the version of this page
Last updated: Sat, 10 Jan 2004

feof

(PHP 3, PHP 4 )

feof -- Tests for end-of-file on a file pointer

Description

bool feof ( resource handle)

Returns TRUE if the file pointer is at EOF or an error occurs (including socket timeout); otherwise returns FALSE.

Uyarı

feof() will return TRUE only if the connection opened by fsockopen() is closed. This can cause a script to timeout. The workaround for this is to use stream_set_timeout(), so that feof() will return FALSE on timeout.

The file pointer must be valid, and must point to a file successfully opened by fopen(), popen(), or fsockopen().



add a note add a note User Contributed Notes
feof
There are no user contributed notes for this page.

<fclosefflush>
 Last updated: Sat, 10 Jan 2004
show source | credits | sitemap | contact | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This mirror generously provided by: Kewlio.net Limited
Last updated: Mon Jan 19 02:13:30 2004 GMT