Es muy fácil.
Código PHP:
Ver original<?php
$file = fopen("welcome.txt", "r") or
exit("Unable to open file!"); //Output a line of the file until the end is reached
}
?>
Sacado de:
http://www.w3schools.com/PHP/php_file.asp
Lo que haces simplemente es abrir un archivo, y lo recorres linea por linea, añadiendo cada una de esas lineas a un array existente.
No he probado si funciona, pero creo haberlo probado antes y me fue bien.