PHP/fx/feof

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< PHP | fx
Revision as of 01:33, 11 February 2026 by Woozle (talk | contribs) (Created page with "{{page/PHP/fx}} ==About== * '''Purpose''': detects end-of-file on a file-type stream ** The stream must have been opened with <code>{{l/pfx|PHP/fx/|fopen}}()</code> or <code>{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#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
    • The stream must have been opened with fopen() or fsockopen() -- implying that it won't work with other kinds of streams, e.g. those opened with ssh_exec() (which seems to be the case; always returns FALSE).

Reference