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
Jump to navigation Jump to search
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() or fsockopen() -- implying that it won't work with other kinds of streams, e.g. those opened with ssh_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