stream_supports_lock
PHP Manual
PHP Manual»Stream Funzioni»stream_supports_lock

stream_supports_lock

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

stream_supports_lockTells whether the stream supports locking

Descrizione

function stream_supports_lock(resource $stream): bool

Tells whether the stream supports locking through flock().

Elenco dei parametri

stream

The stream to check.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.

Vedere anche:

  • flock() - Sistema di bloccaggio file

To Top