Skip to content

Instantly share code, notes, and snippets.

@olssonm
Created November 7, 2019 07:54
Show Gist options
  • Save olssonm/47e01550c296801d177a16787d1476eb to your computer and use it in GitHub Desktop.
Save olssonm/47e01550c296801d177a16787d1476eb to your computer and use it in GitHub Desktop.
Quick way to parse a CSV-file exported from Apple Numbers (using default UTF-8 formatting).
$data = array_map(function($v) {
return str_getcsv($v, ";");
}, file($file));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment