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