<?php 
$lines = file("full_catalog.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach ($lines as $line) {
    echo $line . PHP_EOL;
}

?>