фраза 1 фраза 2 фраза 3
<?php $f_contents = file("text.txt"); $line = $f_contents[rand(0, count($f_contents) - 1)]; ?>