|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4039 fgetcsv ignores multiple separators
Submitted: 2000-04-04 19:42 UTC Modified: 2005-03-31 16:13 UTC
From: poc at baden-online dot de Assigned:
Status: Wont fix Package: Misbehaving function
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
4 + 2 = ?
Subscribe to this entry?

 [2000-04-04 19:42 UTC] poc at baden-online dot de
The whitespace between the braces is one tab (0x9) character.
fgetcsv($fp, 10240, " ") ignores mutiple occurences of tabs (zero length fields).
Doin' a fgets() with an afterwards explode() works as expected.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 15:03:34 2022 UTC