Display all lines of the file "testing"

<?
$f="testing";
$o=file($f);
echo "./$f has ".count($o)." lines<br>";
while ($i = each($o)){
        $k=$i['key'];
        $v=$i['value'];
        print "$k.$v<br>";
}
?>