Implode - PHP


<?php

$textfile =("word1 word2 word 3");

$f = implode('', file("$textfile"));
$quotes = explode("

", $f);
$quote = rand(0, sizeof($quotes)-1);
$tmp = str_replace("
", "<br>
", $quotes[$quote]);
$content = $tmp;
echo $content

?>

Whats wrong with this