|
SplFileObject::fputcsvWrite a field array as a CSV line Beschreibung
public int SplFileObject::fputcsv
( array
$fields
[, string $delimiter = ","
[, string $enclosure = '"'
[, string $escape = "\"
]]] )
Writes the Parameter-Liste
Rückgabewerte
Returns the length of the written stringIm Fehlerfall wird
Returns Fehler/Exceptions
An Changelog
Beispiele
Beispiel #1 SplFileObject::fputcsv example
<?phpThe above example will write the following to file.csv: aaa,bbb,ccc,dddd 123,456,789 """aaa""","""bbb""" Siehe auch
|