src/Debug/FileStreamWrapper.php
public function stream_eof()
    {
        if (!$this->handle) {
            return false;
        }
        self::restorePrev();
        $result = \feof($this->handle);
        self::register();
        return $result;
    }
public function stream_eof()
    {
        if (!$this->handle) {
            return false;
        }
        self::restorePrev();
        $result = \feof($this->handle);
        self::register();
        return $result;
    }
Tests for end-of-file on a file pointer

@return boolean

@see http://php.net/manual/en/streamwrapper.stream-eof.php