* @see http://php.net/manual/streamwrapper.stream-eof.php */ #[\ReturnTypeWillChange] public function stream_eof(); /** * Support for fseek(). * * @param int $offset * The byte offset to got to. * @param int $whence * SEEK_SET, SEEK_CUR, or SEEK_END. * * @return bool TRUE on success. * @see http://php.net/manual/streamwrapper.stream-seek.php */ #[\ReturnTypeWillChange] public function stream_seek($offset, $whence); /** * Support for fflush(). * * @return bool TRUE if data was successfully stored (or there was no data to store). * @see http://php.net/manual/streamwrapper.stream-flush.php */ #[\ReturnTypeWillChange] public function stream_flush(); /** * Support for ftell(). * * @return int The current offset in bytes from the beginning of file. * @see http://php.net/manual/streamwrapper.stream-tell.php */ #[\ReturnTypeWillChange] public function stream_tell(); /** * Support for fstat(). * * @return array An array with file status, or FALSE in case of an error - see fstat() * @see http://php.net/manual/streamwrapper.stream-stat.php */ #[\ReturnTypeWillChange] public function stream_stat(); /** * Support for stream_set_option * - stream_set_blocking() * - stream_set_timeout() * - stream_set_write_buffer() * * @param int $option * @param int $arg1 * @param int $arg2 * @return bool * @see http://php.net/manual/streamwrapper.stream-set-option.php */ #[\ReturnTypeWillChange] public function stream_set_option($option, $arg1, $arg2); /** * Support for unlink(). * * @param string $uri * A string containing the URI to the resource to delete. * * @return bool TRUE if resource was successfully deleted. * @see http://php.net/manual/streamwrapper.unlink.php */ #[\ReturnTypeWillChange] public function unlink($uri); /** * Support for rename(). * * @param string $from_uri , * The URI to the file to rename. * @param string $to_uri * The new URI for file. * * @return bool TRUE if file was successfully renamed. * @see http://php.net/manual/streamwrapper.rename.php */ #[\ReturnTypeWillChange] public function rename($from_uri, $to_uri); /** * Support for mkdir(). * * @param string $uri * A string containing the URI to the directory to create. * @param int $mode * Permission flags - see mkdir(). * @param int $options * A bit mask of STREAM_REPORT_ERRORS and STREAM_MKDIR_RECURSIVE. * * @return bool TRUE if directory was successfully created. * @see http://php.net/manual/streamwrapper.mkdir.php */ #[\ReturnTypeWillChange] public function mkdir($uri, $mode, $options); /** * Support for rmdir(). * * @param string $uri * A string containing the URI to the directory to delete. * @param int $options * A bit mask of STREAM_REPORT_ERRORS. * * @return bool TRUE if directory was successfully removed. * @see http://php.net/manual/streamwrapper.rmdir.php */ #[\ReturnTypeWillChange] public function rmdir($uri, $options); /** * Support for stat(). * * @param string $uri * A string containing the URI to get information about. * @param int $flags * A bit mask of STREAM_URL_STAT_LINK and STREAM_URL_STAT_QUIET. * * @return array An array with file status, or FALSE in case of an error - see fstat() * @see http://php.net/manual/streamwrapper.url-stat.php */ #[\ReturnTypeWillChange] public function url_stat($uri, $flags); /** * Support for opendir(). * * @param string $uri * A string containing the URI to the directory to open. * @param int $options * Unknown (parameter is not documented in PHP Manual). * * @return bool TRUE on success. * @see http://php.net/manual/streamwrapper.dir-opendir.php */ #[\ReturnTypeWillChange] public function dir_opendir($uri, $options); /** * Support for readdir(). * * @return string The next filename, or FALSE if there are no more files in the directory. * @see http://php.net/manual/streamwrapper.dir-readdir.php */ #[\ReturnTypeWillChange] public function dir_readdir(); /** * Support for rewinddir(). * * @return bool TRUE on success. * @see http://php.net/manual/streamwrapper.dir-rewinddir.php */ #[\ReturnTypeWillChange] public function dir_rewinddir(); /** * Support for closedir(). * * @return bool TRUE on success. * @see http://php.net/manual/streamwrapper.dir-closedir.php */ #[\ReturnTypeWillChange] public function dir_closedir(); }