96 abstract public function stream_close();
109 abstract public function stream_eof();
145 abstract public function stream_open($path, $mode, $options, &$openedPath);
245 abstract public function stream_tell();
__construct()
Constructs a new instance of this stream wrapper.
url_stat($path, $flags)
Retrieve information about a file.
const SEEK_END
Set position to end-of-file plus offset.
stream_seek($offset, $whence)
Seeks to specific location in a stream.
stream_read($count)
Read from stream.
const SEEK_SET
Set position equal to offset bytes.
const STREAM_USE_PATH
If path is relative, search for the resource using the include_path.
const SEEK_CUR
Set position to current location plus offset.
const STREAM_URL_STAT_LINK
For links, whether to return information about the link itself or the resource it links to...
const STREAM_URL_STAT_QUIET
Whether to report errors in Erebot::StreamWrapperBase::url_stat() or not.
stream_stat()
Retrieve information about a file resource.
const STREAM_REPORT_ERRORS
Whether the stream wrapper should report errors or not.
Abstract class for a minimal PHP stream wrapper.