I've been doing something for a while, but haven't spotted anyone else doing it. I code html like
echo
'<TABLE>',
'<TR>',
'<TD>',
$something,
etc.
It's a little more trouble, but it has some nice benefits. It allows me to format my html so that I can actually read it later -- but produces an html document which is sort of compressed in that it has no tabs or spaces like a normal document. This makes it smaller, of course, and quicker to download.
Is this fast PHP performance wise, though? From a PHP .php processing standpoint, is it better to print out the html, or switch into and out of <?php mode?