(PHP 5 >= 5.1.0, PHP 7)
Gets line from file and parse as CSV fields
public array SplFileObject::fgetcsv ([ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\" ]]] )
Gets a line from the file which is in CSV format and returns an array containing the fields read.
Parameters:
delimiter
The field delimiter (one character only). Defaults as a co