PHP 4.0 Bug #8258 Updated: fgetcsv() fails with empty tab delimited fields

From: Date: Thu, 14 Dec 2000 14:21:53 +0000
Subject: PHP 4.0 Bug #8258 Updated: fgetcsv() fails with empty tab delimited fields
Groups: php.dev 
Request: Send a blank email to php-dev+get-41370@lists.php.net to get a copy of this message
ID: 8258 Updated by: hholzgra Reported By: hartmut@six.de Old-Status: Open Status: Closed Bug Type: Filesystem function related Assigned To: Comments: fixed in cvs Previous Comments: --------------------------------------------------------------------------- [2000-12-14 08:28:24] hartmut@six.de from the manual annotations to fgetcsv(): (reported by poc@baden-online.de) fgetcsv() seems to ignore zero-length fields when working with tabs as separators (3.0.12). Instead work around this with fgets() and do an explode() afterwards, this gets you the right thing. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8258

« previous php.dev (#41370) next »