Re: Closing PHP tag best practice?
| From: | Daniel Brown | Date: | Mon, 25 Jul 2011 12:13:14 +0000 |
| Subject: | Re: Closing PHP tag best practice? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314195@lists.php.net to get a copy of this message | ||
On Sun, Jul 24, 2011 at 10:18, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
>
> The PHP parser will automatically "add" the closing tag when it reaches
> the end of the file, so you don't have to worry about the final closing
> tag.
I quit using closing tags years ago and haven't looked back once
(except for code snippets, since explanatory text generally follows
the block).
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/