Re: print vs. heredoc

From: Date: Sun, 06 Jul 2003 22:48:11 +0000
Subject: Re: print vs. heredoc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154151@lists.php.net to get a copy of this message
> 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/

« previous php.general (#154151) next »