stream_supports_lock
reactphp/event-loop
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Tells whether the stream supports locking
<?php stream_supports_lock
(
resource $stream
):
bool