Is there a native function or solid class/library for writing an array as a line in a CSV file without enclosures? fputcsv will default to \" if no
fputcsv
\"
chr(0) also worked for me:
chr(0)
fputcsv($fp, $aLine, $sDelimiter, chr(0));