Esc
API Index — Namespaces, Packages, Reports, Indices
IOStreamWrapper
in package
Table of Contents
Properties
Methods
- __call() : mixed
- __get() : mixed
- stream_close() : void
- stream_eof() : bool
- stream_flush() : bool
- stream_lock() : bool
- stream_open() : bool
- stream_read() : string|false
- stream_rewind() : bool
- stream_seek() : bool
- stream_stat() : array<int|string, mixed>|false
- stream_tell() : int|false
- stream_truncate() : bool
- stream_unlink() : bool
- stream_write() : int|false
- url_stat() : array<int|string, mixed>|false
Properties
$context
public
resource|null
$context
$input
private
string
$input
= ''
$position
private
int
$position
= 0
Methods
__call()
public
__call(string $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : string
- $args : array<string|int, mixed>
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
stream_close()
public
stream_close() : void
stream_eof()
public
stream_eof() : bool
Return values
boolstream_flush()
public
stream_flush() : bool
Return values
boolstream_lock()
public
stream_lock(int $operation) : bool
Parameters
- $operation : int
Return values
boolstream_open()
public
stream_open(string $path, string $mode, int $options, string|null &$opened_path) : bool
Parameters
- $path : string
- $mode : string
- $options : int
- $opened_path : string|null
Return values
boolstream_read()
public
stream_read(int $count) : string|false
Parameters
- $count : int
Return values
string|falsestream_rewind()
public
stream_rewind() : bool
Return values
boolstream_seek()
public
stream_seek(int $offset[, int $whence = SEEK_SET ]) : bool
Parameters
- $offset : int
- $whence : int = SEEK_SET
Return values
boolstream_stat()
public
stream_stat() : array<int|string, mixed>|false
Return values
array<int|string, mixed>|falsestream_tell()
public
stream_tell() : int|false
Return values
int|falsestream_truncate()
public
stream_truncate(int $new_size) : bool
Parameters
- $new_size : int
Return values
boolstream_unlink()
public
stream_unlink(string $path) : bool
Parameters
- $path : string
Return values
boolstream_write()
public
stream_write(string $data) : int|false
Parameters
- $data : string
Return values
int|falseurl_stat()
public
url_stat(string $path, int $flags) : array<int|string, mixed>|false
Parameters
- $path : string
- $flags : int