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',[EMAIL PROTECTED] /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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to