$data = file('file.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach($data as $line)
$result[] = preg_split("##", $line, -1, PREG_SPLIT_NO_EMPTY);
echo '<pre>'.print_r($result,1).'</pre>';
Array
(
[0] => Array
(
[0] => a
[1] => b
[2] => c
[3] => d
[4] => e
[5] => f
[6] => g
[7] => h
)
[1] => Array
(
[0] => i
[1] => j
[2] => k
[3] => l
)
[2] => Array
(
[0] => m
[1] => n
[2] => o
)
[3] => Array
(
[0] => a
[1] => b
[2] => c
[3] => d
[4] => e
[5] => f
[6] => g
[7] => h
)
[4] => Array
(
[0] => i
[1] => j
[2] => k
[3] => l
)
[5] => Array
(
[0] => m
[1] => n
[2] => o
)
)
_____________
HTML, CSS (Bootstrap), JS(JQuery, ExtJS), PHP, MySQL, MSSql, Posgres, (TSql, BI OLAP, MDX), Mongo, Git, SVN, CodeIgnater, Symfony, Yii 2, JiRA, Redmine, Bitbucket, Composer, Rabbit MQ, Amazon (SQS, S3, Transcribe), Docker