note 102607 added to function.str-getcsv
[email protected] Thu, 24 Feb 2011 03:14:32 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
In response to: hpartidas at deuz dot net 25-May-2010 04:50 The function you supply works quite well, however it returns and array with an element of key 0 which contains the csv, unlike the php 5.3 function which just returns the array. IE: Replacement Function: return array(0 => array_of_vars) PHP 5.3 function: return array_of_vars I changed the return to return $output[0]; ---- Server IP: 109.169.40.147 Probable Submitter: 217.113.167.229 ---- Manual Page -- http://www.php.net/manual/en/function.str-getcsv.php Edit -- https://master.php.net/note/edit/102607 Del: integrated -- https://master.php.net/note/delete/102607/integrated Del: useless -- https://master.php.net/note/delete/102607/useless Del: bad code -- https://master.php.net/note/delete/102607/bad+code Del: spam -- https://master.php.net/note/delete/102607/spam Del: non-english -- https://master.php.net/note/delete/102607/non-english Del: in docs -- https://master.php.net/note/delete/102607/in+docs Del: other reasons-- https://master.php.net/note/delete/102607 Reject -- https://master.php.net/note/reject/102607 Search -- https://master.php.net/manage/user-notes.php