streamWrapper::stream_lock

streamWrapper::stream_lock

(PHP 5, PHP 7)

streamWrapper::stream_lockAdvisory file locking

Description

public bool streamWrapper::stream_lock ( int $operation )

This method is called in response to flock(), when file_put_contents() (when flags contains LOCK_EX), stream