protected _from_csv ( string $data, string $delimiter = ',', string $enclosure = '"' ) : array | ||
$data | string | CSV string |
$delimiter | string | The optional delimiter parameter sets the field delimiter (one character only). NULL will use the default value (,) |
$enclosure | string | The optional enclosure parameter sets the field enclosure (one character only). NULL will use the default value (") |
리턴 | array | A multi-dimensional array with the outer array being the number of rows and the inner arrays the individual fields |