note 105406 deleted from function.str-getcsv by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Aug 2011 15:43:56 +0000 |
| Subject: | note 105406 deleted from function.str-getcsv by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182546@lists.php.net to get a copy of this message | ||
Note Submitter: daniel at danielnorton dot com
----
The earlier solution by âdurik at 3ilab dot netâ to split multiple lines of input simply
doesn't work in the general case. It might work for his data, but here's a simple failure
case:
$CsvString = <<<__EOF__
line1col1,"line1col2\n",line1col3
line2col1,line2col2,line2col3
__EOF__;