Doc #60507 [Opn->Nab]: The else part will never execute
| From: | krakjoe@php.net | Date: | Thu, 15 Nov 2012 09:23:15 +0000 |
| Subject: | Doc #60507 [Opn->Nab]: The else part will never execute | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9137@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60507&edit=1
ID: 60507
Updated by: krakjoe@php.net
Reported by: sid2089 at gmail dot com
Summary: The else part will never execute
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Filesystem function related
Operating System: All
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
As the documentation states; some file systems do not support file locking, so the
return value should in fact be checked, and could in fact be false.
Previous Comments:
------------------------------------------------------------------------
[2011-12-13 02:46:07] sid2089 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.flock#refsect1-function.flock-
examples
---
In example 1, the else part will never execute as the lock will block
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60507&edit=1