PHP вывод print_r в html

Читаемый вид print_r в html задается тегом:

echo "<pre>";
print_r($line);
echo "</ pre>";