Re: POLL: To add the final ?> or not...
| From: | Bipper Goes! | Date: | Mon, 11 Jan 2010 19:37:04 +0000 |
| Subject: | Re: POLL: To add the final ?> or not... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300992@lists.php.net to get a copy of this message | ||
Ever write a string replace function on a closing ?> //somecomment here like
end junk
I have written some systems and gone back two to three years later and found
myself having to do such. Sloppy, sure. Minimize cost to the client? Oh
yeah.
I keep em, and comment 'em as I feel I should.
On Mon, Jan 11, 2010 at 2:24 AM, Olav <olavell@xs4all.nl> wrote:
> Paul M Foster wrote:
>
> > I leave it off. I don't want to have to worry about which editor I'm
> > using or whether I accidentally left some whitespace where it shouldn't
> > be.
>
> I also use different editors in different situations, both terminal based
> and GUI. For instance I find Midnight Commander's internal editor quite
> comfortable to use but unfortunately it does leave whitespace all over
> the place.
>
> This discussion made me think. From now on, I will probably also leave
> the closing ?> off in include files. If something isn't really needed
> then there is no rational reason to insist on using it.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>