NYCPHP Meetup

NYPHP.org

[nycphp-talk] Closing ?> tag

Michael Southwell southwell at dneba.com
Tue May 20 16:30:55 EDT 2003


aha, so this refers *only* to tags in included files where the only or last 
item is php code?

At 04:10 PM 5/20/2003, you wrote:


>Well, two against one :)  In the posting above, the poster outlines the exact
>reason for not including an ending tag, IMO.  In included files using an end
>tag will only bite you in the end, and there is no reason for it; PHP will
>drop out of PHP parsing mode at the end of the file anyway.  And:
>
>http://bugs.php.net/bug.php?id=21891
>
>which probably could have been received a little better  :)
>
>
> > Is there any rationale for leaving it off?  Style?
>Yeah, style and debugging.
>
> > Performance?
>Maybe a tiny tiny tiny tiny bit.
>
> > Ensuring that you're keeping logic separate from presentation templates?
>
>Yeah, style and debugging.  :)
>
>
>H
>
>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---

Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1419
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================





More information about the talk mailing list