Re: To ?> or not to ?>
| From: | Robert Cummings | Date: | Wed, 04 Apr 2012 21:13:17 +0000 |
| Subject: | Re: To ?> or not to ?> | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317457@lists.php.net to get a copy of this message | ||
On 12-04-04 04:40 PM, Lester Caine wrote:
( forget email addres :( ) Robert Cummings wrote:IDE? Get off my lawn!! ;) I develop in JOE. 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.On 12-04-04 02:42 PM, Lester Caine 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 :(Tedd Sperling wrote:These kinds of files don't generally have issues with trailing whitespace though :) I certainly close the tags in these cases.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?