PHP function stream_supports_lock()
Version availability: PHP 5.3.0
Tells whether the stream supports locking.
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$stream |
resource |
not | The stream to check. |
Return values
bool
Returns true on success, otherwise false on failure.