Re: heredoc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



clr wrote:
> Please can someone advise me on heredoc and its shortcommings,
> 
> I am designing a complex site and elected to use DIV's as opposed to
> frames.
> Heredoc seems to be ideal in that I can do all processing first and then
> layout with relative ease.

I would say go right ahead and use it...

> 
> I was wondering if it was acceptable to use and maintain going forward
> as i have read on a few mailing archives
> that this is a "cheat" and lazy and to be depreciated??

you have been misled - heredoc is not scheduled to be depreciated, it's
valid and useful tool (Paul N. offered you some of it's pro's) - my only gripe about
heredoc is that most of my editors can't handle it in terms of syntax highlight :-)

> 
> 
> Thanks
> Colin
> 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux