note 94616 deleted from function.flock by danbrown

From: Date: Sun, 15 Nov 2009 03:58:17 +0000
Subject: note 94616 deleted from function.flock by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162915@lists.php.net to get a copy of this message
Note Submitter: chris at beckr dot org ---- Note that Example 1 is flawed - the file should be opened using "r+", because "w" truncates the file right away, so that any readers with a valid lock will actually see a blank file. Filed a documentation bug: http://bugs.php.net/50177 Oh and hi Daniel! ;)

« previous php.notes (#162915) next »