RE: [PHP-DEV] Bug #27730 (fgetcsv() fails on 2 newlines)
| From: | Clemens Gutweiler | Date: | Fri, 02 Apr 2004 16:42:00 +0000 |
| Subject: | RE: [PHP-DEV] Bug #27730 (fgetcsv() fails on 2 newlines) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8898@lists.php.net to get a copy of this message | ||
Hi Rasmus,
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Uh, huh? The behaviour in 4.3.5 is the same as always. Nothing has
> changed here. It was simple user error in that report.
Result of Ilia's test-script with PHP 4.3.3:
array(2) {
[0]=>
string(3) "one"
[1]=>
string(4) "val1"
}
array(2) {
[0]=>
string(3) "two"
[1]=>
string(4) "val2"
}
array(1) {
[0]=>
string(0) ""
}
array(2) {
[0]=>
string(5) "three"
[1]=>
string(4) "val3"
}
and with PHP 4.3.5:
array(2) {
[0]=>
string(3) "one"
[1]=>
string(4) "val1"
}
array(2) {
[0]=>
string(3) "two"
[1]=>
string(4) "val2"
}
I think the behaviour is NOT the same as always.
Clemens