PHP/fx/feof
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
{{#set:language=PHP}}{{#set:page type=library function}}{{#set:function name=feof}}
|
PHP function:
feof() |
{{#set: page title=PHP function: feof() }}
About
- Purpose: detects end-of-file on a file-type stream
Notes
- The documentation says the stream must have been opened with
fopen()orfsockopen()-- implying that it won't work with other kinds of streams, e.g. those opened withssh_exec(), but this is only sometimes true. The oversimplified version is that it will work iff the remote process terminates properly: some do, some don't. See wooz:2026/03/07.
Links
Reference
- php.net: feof()
