stream_supports_lock

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

stream_supports_lock — Tells 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