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

 ID:                 53279
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:            SplFileObject doesn't initialise default CSV escape
                     character
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            SPL related
 Operating System:   Irrelevant
 PHP Version:        trunk-SVN-2010-11-09 (SVN)
-Assigned To:        
+Assigned To:        aharvey
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-11-09 15:53:25] [email protected]

Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=305227
Log: Fix bug #53279 (SplFileObject doesn't initialise default CSV escape
character).

------------------------------------------------------------------------
[2010-11-09 15:50:20] [email protected]

Description:
------------
While the default CSV enclosure and delimiter are properly initialised,
SplFileObject never explicitly initialises the default escape character
within instances after the structure in question is first zeroed with
memset(), which means it defaults to (char) 0. All other CSV related
functions in PHP default to \ as the escape character as of 5.3.



Fix forthcoming; I'm just opening this so it's searchable and to get a
bug number for the NEWS.



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



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

Reply via email to