stream_supports_lock

(PHP 5 >= 5.3.0, PHP 7)

stream_supports_lockTells whether the stream supports locking

Descrição

stream_supports_lock ( resource $stream ) : bool

Tells whether the stream supports locking through flock().

Parâmetros

stream

The stream to check.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

Veja Também

  • flock() - Monitor de travamento de arquivos portátil