streamWrapper::stream_lock
(PHP 5, PHP 7, PHP 8)
streamWrapper::stream_lock — Advisory file locking
说明
This method is called in response to flock(), when
file_put_contents() (when flags
contains LOCK_EX
),
stream_set_blocking() and when closing the stream
(LOCK_UN
).
参数
错误/异常
Emits E_WARNING
if call to this method fails (i.e. not implemented).
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/streamwrapper.stream-lock.php