note 102607 deleted from function.str-getcsv by danbrown

[email protected] Thu, 24 Feb 2011 07:06:43 -0800
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: bcarlyon at php dot net 

----

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];