You are here

public function DrupalRemoteStreamWrapper::stream_eof in Remote Stream Wrapper 7

Support for feof().

Return value

TRUE if end-of-file has been reached.

Overrides StreamWrapperInterface::stream_eof

See also

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

File

./remote_stream_wrapper.inc, line 214

Class

DrupalRemoteStreamWrapper
Stream wrapper to support local files.

Code

public function stream_eof() {
  return $this->stream_pointer == strlen($this->stream_content);
}