Doc #65271 [Opn->Csd]: Type problem on the flock() documentation

From: Date: Mon, 19 Aug 2013 05:41:28 +0000
Subject: Doc #65271 [Opn->Csd]: Type problem on the flock() documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10179@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65271&edit=1 ID: 65271 Updated by: krakjoe@php.net Reported by: benjamin dot morel at gmail dot com Summary: Type problem on the flock() documentation -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2013-08-19 05:41:19] krakjoe@php.net Automatic comment from SVN on behalf of krakjoe Revision: http://svn.php.net/viewvc/?view=revision&revision=331153 Log: implied type incorrect #65271 ------------------------------------------------------------------------ [2013-07-16 14:58:16] benjamin dot morel at gmail dot com Description: ------------ The manual page for flock(): http://php.net/manual/en/function.flock.php Says that the third argument will be set to TRUE, but it's actually an integer, which will be set to 1 (confirmed by testing). Expected result: ---------------- The optional third argument is set to 1 if the lock would block (EWOULDBLOCK errno condition). Actual result: -------------- The optional third argument is set to TRUE if the lock would block (EWOULDBLOCK errno condition). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65271&edit=1

« previous php.doc.bugs (#10179) next »