Reduce switching between PHP and HTML output.