Re: POLL: To add the final ?> or not...

From: Date: Sat, 09 Jan 2010 05:07:43 +0000
Subject: Re: POLL: To add the final ?> or not...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-300934@lists.php.net to get a copy of this message
Mattias Thorslund wrote:
Hadn't paid much attention to the issue until reading a previous discussion on the topic, here on this list. After that, I decided to be consistent and leave the closing ?> out in all include files. To my eyes, ?> means "look there is more content coming", which seems kind of silly when there isn't.
For mixed HTML/PHP files I add the ?> but for source only files I leave it off. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#300934) next »