note 94616 added to function.flock

From: Date: Sat, 14 Nov 2009 22:20:07 +0000
Subject: note 94616 added to function.flock
Groups: php.notes 
Request: Send a blank email to php-notes+get-162907@lists.php.net to get a copy of this message
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! ;) ---- Server IP: 85.214.154.209 Probable Submitter: 195.226.66.99 ---- Manual Page -- http://www.php.net/manual/en/function.flock.php Edit -- https://master.php.net/note/edit/94616 Del: integrated -- https://master.php.net/note/delete/94616/integrated Del: useless -- https://master.php.net/note/delete/94616/useless Del: bad code -- https://master.php.net/note/delete/94616/bad+code Del: spam -- https://master.php.net/note/delete/94616/spam Del: non-english -- https://master.php.net/note/delete/94616/non-english Del: in docs -- https://master.php.net/note/delete/94616/in+docs Del: other reasons-- https://master.php.net/note/delete/94616 Reject -- https://master.php.net/note/reject/94616 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162907) next »