bool stream_supports_lock ( resource $stream )
Tells whether the stream supports locking through flock().
Returns TRUE on success or FALSE on failure.