On Mon, 2 Feb 2009 08:23:49 +0100, Yannick Mortier mvmort...@googlemail.com
wrote:
2009/2/2 Alpár Török torokal...@gmail.com:
2009/2/1 Yannick Mortier mvmort...@googlemail.com
I once read that this is even recommended by the PHP developers... Has
anyone got a quote for me about this?
I
2009/1/30 Nitsan Bin-Nun nit...@binnun.co.il:
Do you close your PHP ?php tags?
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 ?php Tag opened.
I once read that this is even recommended by the PHP
2009/2/1 Yannick Mortier mvmort...@googlemail.com
2009/1/30 Nitsan Bin-Nun nit...@binnun.co.il:
Do you close your PHP ?php tags?
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 ?php Tag
2009/2/2 Alpár Török torokal...@gmail.com:
2009/2/1 Yannick Mortier mvmort...@googlemail.com
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 :
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 ?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
On Sat, Jan 31, 2009 at 10:10 AM, tedd tedd.sperl...@gmail.com 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
Eric Butera wrote:
On Sat, Jan 31, 2009 at 10:10 AM, tedd tedd.sperl...@gmail.com 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
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
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun nit...@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
Nitsan Bin-Nun 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
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
2009/1/30 Eric Butera eric.but...@gmail.com
On Fri, Jan 30, 2009 at 1:45 PM, Nitsan Bin-Nun nit...@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
On Fri, Jan 30, 2009 at 3:50 PM, Edmund Hertle
edmund.her...@student.kit.edu 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
On Fri, Jan 30, 2009 at 12:50 PM, Edmund Hertle
edmund.her...@student.kit.edu 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.
On Fri, Jan 30, 2009 at 10:45 AM, Nitsan Bin-Nun nit...@binnun.co.ilwrote:
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
15 matches
Mail list logo