Re: To ?> or not to ?>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 opening<?php, but when it's part of a file that has numerous opening and
closing tags AND using<?= then leaving one segment un-terminated just seems
totally wrong?

These kinds of files don't generally have issues with trailing whitespace though :) I certainly close the tags in these cases.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux