> I'm looking for opinions as to which is better, print or heredoc.

I prefer heredoc mostly because I do not enjoy editing html that is full of 
backslashes.  I build up the html and only output anything at the end.  This 
allows for custom compression, whitespace stripping, etc.

> print makes the code layout look nice and eazy to debug, where heredoc IS
> faster but makes the code look like a nightmare and I'm pretty picky about
> what looks good.

Sounds like you already have your mind made up.


-- 
Greg Donald
http://destiney.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to