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