Re: Parse Errors with 5.2 on Linux
| From: | Robert Cummings | Date: | Tue, 07 Nov 2006 21:22:36 +0000 |
| Subject: | Re: Parse Errors with 5.2 on Linux | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244347@lists.php.net to get a copy of this message | ||
On Tue, 2006-11-07 at 21:18 +0000, Stut wrote:
> Richard Lynch wrote:
> > I never have understood why it was kosher to leave the final ?> off,
> > for example, so maybe that changed. :-) [I doubt it]
>
> Certainly hasn't changed, and I hope it never does. Having to find an
> errant space or carriage return at the end of an include file that is
> one of nearly 100 that get included in a script has taught me that there
> is no greater feature in PHP!! I never use a closing ?> if PHP script is
> the last thing in a file - less headaches all around.
Hear, hear! And the word from internals a few years ago was that it was
an intended feature for exactly that reason.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'