Analyser un format CSv: à revoir

Author:
<?php
function parse_csv($string, $delim = ',', $quote='"')
{
    $new = str_replace("{$quote}{$quo