note 114345 added to function.str-getcsv

From: Date: Tue, 11 Feb 2014 13:51:49 +0000
Subject: note 114345 added to function.str-getcsv
Groups: php.notes 
Request: Send a blank email to php-notes+get-198454@lists.php.net to get a copy of this message
str_getcsv can be really fussy about trailing spaces - it will not necessarily recognise a final element in a quote delimited set of strings with a space following the final string for example. Using trim() before str_getcsv() quickly fixes this. ---- Server IP: 87.124.126.49 Probable Submitter: 86.28.234.88 ---- Manual Page -- http://php.net/manual/en/function.str-getcsv.php Edit -- https://master.php.net/note/edit/114345 Del: integrated -- https://master.php.net/note/delete/114345/integrated Del: useless -- https://master.php.net/note/delete/114345/useless Del: bad code -- https://master.php.net/note/delete/114345/bad+code Del: spam -- https://master.php.net/note/delete/114345/spam Del: non-english -- https://master.php.net/note/delete/114345/non-english Del: in docs -- https://master.php.net/note/delete/114345/in+docs Del: other reasons-- https://master.php.net/note/delete/114345 Reject -- https://master.php.net/note/reject/114345 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198454) next »