Re: To ?> or not to ?>
| From: | Robert Cummings | Date: | Wed, 04 Apr 2012 20:01:49 +0000 |
| Subject: | Re: To ?> or not to ?> | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317455@lists.php.net to get a copy of this message | ||
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote: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.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?