/** * Tests for end-of-file on a file pointer. * * This method is called in response to feof(). * * @return boolean Should return TRUE if the read/write position is at the end of the stream and if no more data is available to be read, or FALSE otherwise. */ public function stream_eof() { return $this->streamWrapper->isAtEof(); }