Back to BufferStreamHandler class

Method stream_eof

public bool
stream_eof
()
Function to test for end of file pointer
Returns
  • bool True if the pointer is at the end of the stream
Since
  • 1.7.0
-
  • \Joomla\CMS\Utility\streamWrapper::stream_eof

Method stream_eof - Source code

/**
 * Function to test for end of file pointer
 *
 * @return  boolean  True if the pointer is at the end of the stream
 *
 * @see     streamWrapper::stream_eof
 * @since   1.7.0
 */
public function stream_eof()
{
    return $this->position >= \strlen($this->buffers[$this->name]);
}