Doc #67566 [Asn->Csd]: escape parameter in fgetcsv() is sometimes ignored
| From: | cmb@php.net | Date: | Thu, 15 Feb 2018 17:04:54 +0000 |
| Subject: | Doc #67566 [Asn->Csd]: escape parameter in fgetcsv() is sometimes ignored | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15440@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67566&edit=1
ID: 67566
Updated by: cmb@php.net
Reported by: sebastian dot schmidt at meap dot de
Summary: escape parameter in fgetcsv() is sometimes ignored
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Filesystem function related
Operating System: Debian 6.0.7
PHP Version: Irrelevant
Assigned To: cmb
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:
------------------------------------------------------------------------
[2018-02-15 17:04:26] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344268
Log: Fix bug #67566: escape parameter in fgetcsv() is sometimes ignored
We clarify the actual meaning of $escape.
------------------------------------------------------------------------
[2018-02-15 14:43:59] cmb@php.net
Well, actually the escape parameter is not ignored for the given
test script. For the first line it is important; if the quotes in
the first field were unescaped, it would result in garbage (see
<https://3v4l.org/sZbis>).
I'm changing to documentation problem, since obviously the
behavior needs to be clearly documented.
------------------------------------------------------------------------
[2016-08-26 14:02:24] cmb@php.net
Related To: Bug #51496
------------------------------------------------------------------------
[2016-08-26 13:36:36] cmb@php.net
Related To: Bug #66727
------------------------------------------------------------------------
[2016-08-26 13:20:52] cmb@php.net
Confirmed: <https://3v4l.org/ZRbQa>. Note that the
$escape
parameter is not always ignored, though, see bug #70491.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=67566
--
Edit this bug report at https://bugs.php.net/bug.php?id=67566&edit=1