35 public function close();
59 public function tell();
66 public function eof();
87 public function seek($offset, $whence = SEEK_SET);
115 public function write($string);
134 public function read($length);
rewind()
Seek to the beginning of the stream.
read($length)
Read data from the stream.
write($string)
Write data to the stream.
close()
Closes the stream and any underlying resources.
getContents()
Returns the remaining contents in a string.
detach()
Separates any underlying resources from the stream.
seek($offset, $whence=SEEK_SET)
Seek to a position in the stream.
isWritable()
Returns whether or not the stream is writable.
getMetadata($key=null)
Get stream metadata as an associative array or retrieve a specific key.
getSize()
Get the size of the stream if known.
__toString()
Reads all data from the stream into a string, from the beginning to end.
eof()
Returns true if the stream is at the end of the stream.
isReadable()
Returns whether or not the stream is readable.
isSeekable()
Returns whether or not the stream is seekable.
tell()
Returns the current position of the file read/write pointer.