Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?
| From: | tedd | Date: | Sat, 31 Jan 2009 15:10:40 +0000 |
| Subject: | Re: PHP Enclosing Tags? Do You Close Your PHP Declarations? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287484@lists.php.net to get a copy of this message | ||
At 8:45 PM +0200 1/30/09, Nitsan Bin-Nun wrote:
I was just wondering whether people enclosing their PHP tags declarations, I don't close these <?php tags just because the interpreter doesn't really needs them, and for the second reason - if a space/tab/new line/etc will beneath them it will cause problems with output buffering and session handling. Do you close your PHP <?php tags? (at least I closed them here :P look down) -- ?>My mother always told me to close the door. She wasn't a programmer, but it kept the chickens out. As a matter of habit, I always close all tags. However, I have yet to be bitten by the problem everyone speaks about (knock on wood). Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com