ID: 29163
Updated by: [EMAIL PROTECTED]
Reported By: ramon_herrera at eloyalty dot com
Status: Assigned
Bug Type: Filesystem function related
Operating System: win2k & GNU/Linux (FC2)
PHP Version: 5.0.0
-Assigned To: iliaa
+Assigned To: moriyoshi
New Comment:
Current PHP 4 behavior is correct, old behavior was wrong.
Opening the given file with other CVS parsers such as
OpenOffice confirms that the PHP 4 behavior is correct.
Previous Comments:
------------------------------------------------------------------------
[2004-07-20 22:53:59] ramon_herrera at eloyalty dot com
The version 4.3.8 fgetcsv() works fine. It reads a single space
character from a CSV field containing a single space character. If
that is what my data is then that is exactly what I want fgetcsv() to
read.
The version 5.0.0 fgetcsv() drops that space character.
Thank you very much for your efforts.
------------------------------------------------------------------------
[2004-07-20 22:40:06] [EMAIL PROTECTED]
The reported behaviour is inconsistent with these of
older versions prior to 4.3.4.
Assigning to the person who broke it.
------------------------------------------------------------------------
[2004-07-15 18:07:12] ramon_herrera at eloyalty dot com
Version 4.3.8 results are identical to the version 4.3.7 results.
------------------------------------------------------------------------
[2004-07-15 06:50:20] ramon_herrera at eloyalty dot com
(Ignore this comment. I just needed to clarify the bug category.)
------------------------------------------------------------------------
[2004-07-15 06:46:49] ramon_herrera at eloyalty dot com
The same results occur when running a similar CLI script on my Fedora
Core 2 machine under both versions (4.3.7 and 5.0.0).
------------------------------------------------------------------------
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
http://bugs.php.net/29163
--
Edit this bug report at http://bugs.php.net/?id=29163&edit=1