Re: heredoc

From: Date: Tue, 19 Dec 2006 08:01:11 +0000
Subject: Re: heredoc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246012@lists.php.net to get a copy of this message
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 >

« previous php.general (#246012) next »