Re: fputcsv()
| From: | David Sklar | Date: | Thu, 02 Sep 2004 20:26:18 +0000 |
| Subject: | Re: fputcsv() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12552@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
Hello David, i looked up the fputcsv() magic in the file manually and agree that this is fairly correct (as i wrote before). But when i execute the test the second var_export() is supposed to show the input from the .phpt file. Unfortunatley i get a FAIL from run-tests.php: FAIL various fputcsv() functionality tests [ext/standard/tests/file/fputcsv.phpt] 040+ 16 => 'aaa,"\\"bbb",ccc', 041+ 17 => 'aaa"\\"a""","bbb"', 042+ 18 => '"\\""","aaa"""', 043+ 19 => '"\\"""",aaa 044+ ', 040- 16 => 'aaa,"\\"bbb,ccc', 041- 17 => 'aaa"\\"a","bbb"', 042- 18 => '"\\"","aaa"', 043- 19 => '"\\""",aaa',marcus@frodo /usr/src/php-cvs $ Care to look into this (done with current HEAD)?I will poke about in the guts of fgetcsv and see what I can find. There have been some changes to fgetcsv() in the PHP_4_3 branch, perhaps they will fix things. David