Re: To ?> or not to ?>
| From: | Donovan Brooke | Date: | Thu, 05 Apr 2012 16:52:06 +0000 |
| Subject: | Re: To ?> or not to ?> | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317460@lists.php.net to get a copy of this message | ||
Larry Garfield wrote:
[snip]
Well, the preference doesn't really matter to me... my point of question was the use of ob_start, etc.. The books I've read in PHP also call for ending '?>', so it's being taught to PHP'ers whether the php list and major projects likes it or not. I was wondering about the lists opinion on the use of ob_start, ob_end_flush regarding this topic. Donovan -- D BrookeDonovanMost major projects at this point leave it off, and their coding standards say to as well. The official PHP docs are generally non-commital by design, but outside of those I think it's pretty well-established to just leave it off and be happy. --Larry Garfield