note 98099 added to function.str-getcsv

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Thanks, hpartidas! You timed this perfectly for me.

However, your function returns an array of:

     $output[$row_num][$col_num] = value

I have not used the official str_getcsv() function, but I was assuming that it would process only one row at a time [similar to fgetcsv()], and thus return:

     $output[$col_num] = value

Is my understanding of the official str_getcsv() incorrect, or is your function too powerful? :)
----
Server IP: 208.69.120.55
Probable Submitter: 67.208.103.178
----
Manual Page -- http://www.php.net/manual/en/function.str-getcsv.php
Edit        -- https://master.php.net/note/edit/98099
Del: integrated  -- https://master.php.net/note/delete/98099/integrated
Del: useless     -- https://master.php.net/note/delete/98099/useless
Del: bad code    -- https://master.php.net/note/delete/98099/bad+code
Del: spam        -- https://master.php.net/note/delete/98099/spam
Del: non-english -- https://master.php.net/note/delete/98099/non-english
Del: in docs     -- https://master.php.net/note/delete/98099/in+docs
Del: other reasons-- https://master.php.net/note/delete/98099
Reject      -- https://master.php.net/note/reject/98099
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.