StreamWrapper
Constants
-
PROTOCOL
= 'file://'
Methods
-
register()
: void
-
stream_close()
: void
-
stream_eof()
: bool
-
stream_flush()
: bool
-
stream_lock()
: bool
-
stream_open()
: bool
-
stream_read()
: string|false
-
stream_seek()
: bool
-
stream_stat()
: array<string|int, mixed>|false
-
stream_tell()
: int|false
-
stream_write()
: int
-
url_stat()
: array<string|int, mixed>|false
PROTOCOL
public
mixed
PROTOCOL
= 'file://'
register()
public
static register() : void
stream_close()
public
stream_close() : void
stream_eof()
public
stream_eof() : bool
stream_flush()
public
stream_flush() : bool
stream_lock()
public
stream_lock(int $operation) : bool
Parameters
-
$operation
: int
-
stream_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
-
stream_read()
public
stream_read(int $count) : string|false
Parameters
-
$count
: int
-
Return values
string|false
stream_seek()
public
stream_seek(int $offset[, int $whence = SEEK_SET ]) : bool
Parameters
-
$offset
: int
-
-
$whence
: int
= SEEK_SET
-
stream_stat()
public
stream_stat() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false
stream_tell()
public
stream_tell() : int|false
stream_write()
public
stream_write(string $data) : int
Parameters
-
$data
: string
-
url_stat()
public
url_stat(string $path, int $flags) : array<string|int, mixed>|false
Parameters
-
$path
: string
-
-
$flags
: int
-
Return values
array<string|int, mixed>|false