Leia o arquivo e converta cada linha no Array PHP

$lines = file($filename, FILE_IGNORE_NEW_LINES);
Shiny Stag