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