Re[2]: [PHP] print vs heredoc

From: Date: Tue, 08 Jul 2003 07:22:04 +0000
Subject: Re[2]: [PHP] print vs heredoc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154314@lists.php.net to get a copy of this message
Hi, >> btw what would be nice is a print_raw command that does no >> parsing just sends the stuff :) >> (Would be good for template systems where you know there is no php >> hidden in there.) ... might gain a couple of micro seconds PO> I believe this is called "breaking out of PHP mode PO> and into HTML mode", which can be done anywhere, at PO> any time. PO> Regards, PO> Philip No .. what I was talking about is echoing a variable that contains no php $test = 'Hi there'; echo $test; $test will get parsed (i believe) looking for stuff to interpolate. Could be a waste of time in some cases where $test is large. But again probably insignificant with regard to actual time to get it to the client. -- regards, Tom

« previous php.general (#154314) next »