This class can be used to create CSV files It creates a CSV file and writes record values using pure PHP code without using fputcsv function. The class writes a record line at a time from values passed in an array with the values for all columns. The column separator character is configurable, so it can be a tab or anything besides the default character, which is a comma.