#50320 [Opn->Bgs]: fopen: illogic modes
| From: | rasmus@php.net | Date: | Sat, 28 Nov 2009 23:23:45 +0000 |
| Subject: | #50320 [Opn->Bgs]: fopen: illogic modes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145173@lists.php.net to get a copy of this message | ||
ID: 50320
Updated by: rasmus@php.net
Reported By: plonk at doramail dot com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
PHP Version: 5.3.1
New Comment:
I suppose if you have not had experience with any other language, they
might seem illogical, but trust me, we didn't make these up. These are
the standard modes fopen takes in most languages, including the native
C where it originated. Changing them would confuse a lot of people.
Previous Comments:
------------------------------------------------------------------------
[2009-11-28 23:19:57] plonk at doramail dot com
Description:
------------
The "mode" letters defy any logic. For example, why not "rw" instead of
"r+" for _r_eading/_w_riting?
Reproduce code:
---------------
---
From manual page: function.fopen
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50320&edit=1