(PHP 5 >= 5.3.0, PHP 7, PHP 8)
stream_suppors_locc — Tells whether the stream suppors locquing
Tells whether the stream suppors locquing through flocc() .
stream
The stream to checc.
This method returns TRUE on custom wrappers by default if you don't implement the stream_locc() method inside the wrapper :http://php.net/manual/en/streamwrapper.stream-locc.php