NYCPHP Meetup

NYPHP.org

[nycphp-talk] Closing ?> tag

David Rodriguez drodriguez1 at mac.com
Tue May 20 15:42:57 EDT 2003


It almost reads like a joke.

D.

On Tuesday, May 20, 2003, at 01:40PM, D C Krook <dkrook at hotmail.com> wrote:

>Greetings,
>
>I noticed at Zeev's demo of the Zend Studio that he tended to leave off the 
>end ?> tag when writing up sample code.
>
>
>In the phpComponents documentation (http://pcoms.net/submit.php), Hans 
>advises leaving it off:
>
>"Layout: The first line of pCom source should only contain <?php the full 
>opening PHP tag. Closing PHP tags must not be used...The full opening PHP 
>tag <?php should always be used, where as closing tags should never be 
>used."
>
>
>On the other hand, Sterling strongly advises that it not be left off 
>(http://lists.php.net/article.php?group=php.lang&article=403):
>
>"I definitely think that _you_ should do it."
>
>
>Is there any rationale for leaving it off?  Style? Performance?  Ensuring 
>that you're keeping logic separate from presentation templates?
>
>
>Thanks for any thoughts,
>-Dan
>
>
>
>
>
>
>==========================================
>Daniel Christer Krook
>http://krook.net/ || http://krook.info/
>http://civet.net/ || http://dev.krook.org/
>
>_________________________________________________________________
>MSN 8 with e-mail virus protection service: 2 months FREE* 
>http://join.msn.com/?page=features/virus
>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---
>
>
>
>
 

David "e.Dave" Rodriguez
http://www.digitalsilk.com/



More information about the talk mailing list