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

From: Date: Thu, 14 Dec 2000 13:28:24 +0000
Subject: PHP 4.0 Bug #8258: fgetcsv() fails with empty tab delimited fields
Groups: php.dev 
Request: Send a blank email to php-dev+get-41354@lists.php.net to get a copy of this message
From: hartmut@six.de Operating system: * PHP version: 4.0.3pl1 PHP Bug Type: Filesystem function related Bug description: fgetcsv() fails with empty tab delimited fields 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. -- Edit Bug report at: http://bugs.php.net/?id=8258&edit=1

« previous php.dev (#41354) next »