Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

From: Date: Fri, 30 Jan 2009 18:49:58 +0000
Subject: Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-287438@lists.php.net to get a copy of this message
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun <nitsan@binnun.co.il> wrote: > I was just wondering whether people enclosing their PHP tags declarations, > I don't close these <?php tags just because the interpreter doesn't really > needs them, > and for the second reason - if a space/tab/new line/etc will beneath them it > will cause > problems with output buffering and session handling. > > Do you close your PHP <?php tags? > > (at least I closed them here :P look down) > -- > ?> > Nitsan Bin-Nun > Web Applications Developer > nitsan@binnun.co.il > 972-52-5722039 > I only close tags inside templates. All of my logic code is outside of markup though so those files never have a closing ?> for exactly the reasons you stated. -- http://www.voom.me | EFnet: #voom

« previous php.general (#287438) next »