stream_get_contents
reactphp/socket
Supported Versions: PHP 5, PHP 7, PHP 8
Reads remainder of a stream into a string
<?php stream_get_contents
(
resource $stream
, ?
int $length
=
null
,
int $offset
= -
1
):
string
|
false