stream_is_local
reactphp/socket
Supported Versions: PHP 5 >= 5.2.4, PHP 7, PHP 8
Checks if a stream is a local stream
<?php stream_is_local
(
resource
|
string $stream
):
bool