<?php $options = array("indent" => true, "indent-spaces" => 4, "wrap" => 4096); $tidy = tidy_parse_file("http://www.php.net/", $options); tidy_clean_repair($tidy); echo $tidy; ?>