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

2009-02-02 Thread Larry Garfield
On Mon, 2 Feb 2009 08:23:49 +0100, Yannick Mortier wrote: > 2009/2/2 Alpár Török : >> >> >> 2009/2/1 Yannick Mortier >>> >>> I once read that this is even recommended by the PHP developers... Has >>> anyone got a quote for me about this? >>> >> >> I know thw ZF codinf style includes it as a mus

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

2009-02-01 Thread Yannick Mortier
2009/2/2 Alpár Török : > > > 2009/2/1 Yannick Mortier >> >> I once read that this is even recommended by the PHP developers... Has >> anyone got a quote for me about this? >> > > I know thw ZF codinf style includes it as a must. See here : > > http://framework.zend.com/manual/en/coding-standard.ph

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

2009-02-01 Thread Alpár Török
2009/2/1 Yannick Mortier > 2009/1/30 Nitsan Bin-Nun : > > Do you close your PHP > > > No, I don't. The reason is that I use subversion and I always get a > message when I don't leave the last line empty. > So I kind of have to leave the I once read that this is even recommended by the PHP devel

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

2009-02-01 Thread Yannick Mortier
2009/1/30 Nitsan Bin-Nun : > Do you close your PHP No, I don't. The reason is that I use subversion and I always get a message when I don't leave the last line empty. So I kind of have to leave the http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier --

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

2009-01-31 Thread Nathan Rixham
Eric Butera wrote: On Sat, Jan 31, 2009 at 10:10 AM, tedd wrote: My mother always told me to close the door. She wasn't a programmer, but it kept the chickens out. As a matter of habit, I always close all tags. However, I have yet to be bitten by the problem everyone speaks about (knock on woo

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

2009-01-31 Thread Eric Butera
On Sat, Jan 31, 2009 at 10:10 AM, tedd wrote: > My mother always told me to close the door. She wasn't a programmer, but it > kept the chickens out. > > As a matter of habit, I always close all tags. However, I have yet to be > bitten by the problem everyone speaks about (knock on wood). > > Cheer

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

2009-01-31 Thread tedd
At 8:45 PM +0200 1/30/09, Nitsan Bin-Nun wrote: I was just wondering whether people enclosing their PHP tags declarations, I don't close these My mother always told me to close the door. She wasn't a programmer, but it kept the chickens out. As a matter of habit, I always close all tags. Ho

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

2009-01-30 Thread VamVan
On Fri, Jan 30, 2009 at 10:45 AM, Nitsan Bin-Nun wrote: > I was just wondering whether people enclosing their PHP tags declarations, > I don't close these 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

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

2009-01-30 Thread mike
On Fri, Jan 30, 2009 at 12:50 PM, Edmund Hertle wrote: > What is the problem in session handling? I think I came never across this > issue altough I do close my tags... > I think it depends if output buffering is on or not. If it is not enabled, these linebreaks/etc. will be outputted before the

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

2009-01-30 Thread Eric Butera
On Fri, Jan 30, 2009 at 3:50 PM, Edmund Hertle wrote: > What is the problem in session handling? I think I came never across this > issue altough I do close my tags... If there's any rogue whitespace in your file, it's sent to the browser as the start of data. So if you have an accidental space

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

2009-01-30 Thread Edmund Hertle
2009/1/30 Eric Butera > On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun > wrote: > > I was just wondering whether people enclosing their PHP tags > declarations, > > I don't close these really > > needs them, > > and for the second reason - if a space/tab/new line/etc will beneath them > it > >

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

2009-01-30 Thread John Corry
Same here. They're just extraneous elements and can hide whitespace. I leave them open in all applcation files and close them only in templates. > > > 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

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

2009-01-30 Thread Per Jessen
Nitsan Bin-Nun wrote: > I was just wondering whether people enclosing their PHP tags > declarations, I don't close these 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

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

2009-01-30 Thread Eric Butera
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun wrote: > I was just wondering whether people enclosing their PHP tags declarations, > I don't close these 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 se

[PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Nitsan Bin-Nun
I was just wondering whether people enclosing their PHP tags declarations, I don't close these Nitsan Bin-Nun Web Applications Developer nit...@binnun.co.il 972-52-5722039