Re: Quick question about closing PHP tags
| From: | Karsten Dambekalns | Date: | Tue, 03 Feb 2009 09:44:01 +0000 |
| Subject: | Re: Quick question about closing PHP tags | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42890@lists.php.net to get a copy of this message | ||
Hi.
On 02.02.2009 9:28 Uhr, mike wrote:
There's some discussion going on -discuss about whether or not to close PHP tags. ...
Obviously the bonus is no stupid human error/whitespace type issues with output buffering and such. But I wanted to know if there's any opinion either way for any other reasons?If I expect human errors with whitespace, I better not trust the code. Honestly, how hard is it to simply start and end your files with <?php and ?> and never write HTML and PHP mixed? MVC was mentioned, and templating is already some years old as well. I don't get it, why would I want this? If the tags never had been needed, fine, but now... Regards, Karsten PS: Let the idea grow for another eight years! :)