Format line as CSV and write to file pointer
fputcsv ( resource $handle , array $fields [, string $delimiter = "," [, string $enclosure = '"' [, string $escape_char = "\\" ]]] ) : int
The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen() (and not yet closed by fclose()).
An array of strings.
The optional delimiter parameter sets the field delimiter (one character only).
The optional enclosure parameter sets the field enclosure (one character only).
The optional escape_char parameter sets the escape character (at most one character). An empty string ("") disables the proprietary escape mechanism.
Note: If an enclosure character is contained in a field, it will be escaped by doubling it, unless it is immediately preceded by an escape_char.
Returns the length of the written string or FALSE on failure.
H e l l o
H e '''l''' '''l''' o
H e ''l'' ''l'' o