HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

stream_supports_lock

Description

The stream_supports_lock of Stream for PHP tells whether the stream supports locking.

Syntax

stream_supports_lock(
    resource $stream
): bool

Parameters

stream

The stream to check.

Return

Returns true on success or false on failure.