Codice PHP:
$datafile('data.txt');
$i count($data);
while (
$i) {
    
$i--;
    echo 
$data[$i];  

con il for č + veloce.