To my knowledge, though I haven't done any testing with microtime, heredoc
is as faster as using single quotes.

Since the only thing PHP looks for is the characters that were present at
the very begining on the string, there should certainly be no slowdowns at
all.

If it's not that way, I imagine it would be just a bad implementation which
will be fixed soon. But I strongly doubt a bad implementation of here doc
printing was made.


--
Plutarck
Should be working on something...
...but forgot what it was.


""Jack Dempsey"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I use the here doc option heavily in pages i create, outputting large
chunks
> of HTML with variables inside the echo<<<EOF ...... EOF; syntax...is there
a
> better way to do this? I'm wondering if anyone knows of running times for
> things like that...i would think that it'd be better than going back and
> forth between php and html (certainly easier), wouldn't have to escape the
> quotes like you would if you used
> echo "
>
> lots of html
> ...
>
> ";
>
> Any thoughts on this?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to