From 92041765726331bcab485b3bee159dfe6673f9e1 Mon Sep 17 00:00:00 2001 From: Pieter Hordijk Date: Mon, 2 Feb 2015 18:27:32 +0000 Subject: [PATCH] LOCK_NB is actually supported on windows as well. The only thing that currently doesn't work is the $wouldblock by ref param. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335862 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/flock.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reference/filesystem/functions/flock.xml b/reference/filesystem/functions/flock.xml index 9039785b97..604f1f60bf 100644 --- a/reference/filesystem/functions/flock.xml +++ b/reference/filesystem/functions/flock.xml @@ -28,8 +28,7 @@ PHP supports a portable way of locking complete files in an advisory way (which means all accessing programs have to use the same way of locking or it will not work). By default, this function will block until the - requested lock is acquired; this may be controlled (on non-Windows - platforms) with the LOCK_NB option documented below. + requested lock is acquired; this may be controlled with the LOCK_NB option documented below. @@ -69,7 +68,7 @@ It is also possible to add LOCK_NB as a bitmask to one of the above operations if you don't want flock to - block while locking. (not supported on Windows) + block while locking.