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

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

 



2009/1/30 Eric Butera <eric.butera@xxxxxxxxx>

> On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun <nitsan@xxxxxxxxxxxx>
> 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@xxxxxxxxxxxx
> > 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.


What is the problem in session handling? I think I came never across this
issue altough I do close my tags...

[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