ID:               50573
 Updated by:       j...@php.net
 Reported By:      dulao5 at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Streams related
 Operating System: linux
 PHP Version:      5.2.12
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #48507


Previous Comments:
------------------------------------------------------------------------

[2009-12-25 03:47:23] dulao5 at gmail dot com

Description:
------------
fgetcsv cann't process "\\def" .

(But "\\def" is OK).


Reproduce code:
---------------
php -r "fputcsv(STDOUT, array('abc\\def', 'field2'));" | php -r
"var_dump(fgetcsv(STDIN));"


Expected result:
----------------
array(2) {
  [0]=>
  string(13) "abc\def"
  [1]=>
  string(6) "field2"
}


Actual result:
--------------
array(1) {
  [0]=>
  string(22) "abc\def",field2
"
}



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50573&edit=1

Reply via email to