From:             aharvey
Operating system: Irrelevant
PHP version:      trunk-SVN-2010-11-09 (SVN)
Package:          SPL related
Bug Type:         Bug
Bug description:SplFileObject doesn't initialise default CSV escape character

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 bug report at http://bugs.php.net/bug.php?id=53279&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53279&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53279&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53279&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53279&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53279&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53279&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53279&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53279&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53279&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53279&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53279&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53279&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53279&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53279&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53279&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53279&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53279&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53279&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53279&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53279&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53279&r=mysqlcfg

Reply via email to