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
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
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
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
--
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
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
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
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
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
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
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
> >
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
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
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
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
15 matches
Mail list logo