Larry Garfield wrote:
[snip]
Donovan
Most major projects at this point leave it off, and their coding
standards say to as well. The official PHP docs are generally
non-commital by design, but outside of those I think it's pretty
well-established to just leave it off and be happy.
--Larry Garfi
On 4/4/12 12:14 AM, Donovan Brooke wrote:
Robert Cummings wrote:
[snip]
Could using ob_start and ob_end_flush eliminate the ambiguity of whether
or not to use '?>'?
In the generally recommended case of don't use them at the end of your
file... where's the ambiguity?
http://www.php.net/manua
Robert Cummings wrote:
I'm not alone then :)
But I prefer EVERY tag to be closed ... perhaps that would change if the IDE's
faked a closing tag when it's missing so they don't get flagged as an error :(
IDE? Get off my lawn!!
;)
I develop in JOE.
But that does not provide any of the VCS/DVC
On 12-04-04 04:40 PM, Lester Caine wrote:
( forget email addres :( )
Robert Cummings wrote:
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?
Just as long as no one proposes making leaving out compuls
( forget email addres :( )
Robert Cummings wrote:
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?
Just as long as no one proposes making leaving out compulsory ;)
While I can sort of understand the
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?
Just as long as no one proposes making leaving out compulsory ;)
While I can sort of understand the logic when the file is all php and just has
an open
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?
Just as long as no one proposes making leaving out compulsory ;)
While I can sort of understand the logic when the file is all php and just has
an opening closing tags AND using totally wrong?
On 12-04-04 01:14 AM, Donovan Brooke wrote:
Robert Cummings wrote:
[snip]
Could using ob_start and ob_end_flush eliminate the ambiguity of whether
or not to use '?>'?
In the generally recommended case of don't use them at the end of your
file... where's the ambiguity?
http://www.php.net/man
I keep my closing tag. Earlier I started removing closing tag. Then I
search for the standardness of this practice and found its not standard.
Some frameworks/cms intentionally do this. Besides a signle `\n` character
is allowed after the closing tag which does not cause "Can not send Header"
error
Robert Cummings wrote:
[snip]
Could using ob_start and ob_end_flush eliminate the ambiguity of whether
or not to use '?>'?
In the generally recommended case of don't use them at the end of your
file... where's the ambiguity?
http://www.php.net/manual/en/function.include.php
http://www.php.n
On 12-04-03 11:39 PM, Donovan Brooke wrote:
Stuart Dallas wrote:
[snip]
Usually when setting headers after such a script has been included when output
buffering is turned off. Personally I never put the closing ?> in if it's at
the end of the file because it's unnecessary and can cause issue
Stuart Dallas wrote:
[snip]
Usually when setting headers after such a script has been included when output
buffering is turned off. Personally I never put the closing ?> in if it's at
the end of the file because it's unnecessary and can cause issues if it's present,
but it's personal preferen
I leave them off of any non-view PHP file. It doesn't have any downsides, and
leaving them in can cause problems. Just like short tags!
Regards,
–Josh
Joshua Kehn | @joshkehn
http://joshuakehn.com
On Apr 3, 2012, at 5:29 PM, Tedd Sperling wrote:
> Hi gang
On 12-04-03 05:29 PM, Tedd Sperling wrote:
Hi gang:
Let me start a religious war -- should one end their scripts with "?>" or not?
After years of never having a problem with ending any of my scripts with "?>", I
found that several students in my class had scripts that did not produce the desi
On Apr 3, 2012, at 2:29 PM, Tedd Sperling wrote:
> Hi gang:
>
> Let me start a religious war -- should one end their scripts with "?>" or not?
>
> After years of never having a problem with ending any of my scripts with
> "?>", I found that several students in my class had scripts that did not
On 3 Apr 2012, at 22:29, Tedd Sperling wrote:
> Let me start a religious war -- should one end their scripts with "?>" or not?
>
> After years of never having a problem with ending any of my scripts with
> "?>", I found that several students in my class had scripts that did not
> produce the de
16 matches
Mail list logo