On Wed, Feb 4, 2009 at 12:03 PM, Arvids Godjuks
<arvids.godj...@gmail.com> wrote:
> Hi all.
>
> My 2 cents.
>
> 1). Major IDE have an option - trim trailing spaces. Atleast ZDE does, i'm
> using it and I have no problems with spaces (although I tend to use only
> <?php and don't put ?> at the end of file)
>
> 2). Extension is really a bad idea because many frameworks tend to use .inc
> extension for included files. My applications have only one file with .php
> extension - that's index.php.
>
> 3). BOM is a pain, but really parser could just trim it out if it's present.
> As for me, I use Unicode without BOM (ZDE doesn't place BOM, Visual Studio
> has an encoding named "UTF-8 (without BOM)". Most editors also deal with
> this issue in similar manner, so just see the settings.
>
> So, leave it as is. Better spend time on learning PHP, MySQL and related
> techologies than think about such unimportant and mostly silly things.
> Arvid.
>

The core idea was *only* to do this if it actually helps speed up things.
I am pretty sure than php 5.3++ properly ignore the document's BOM.

Of maybe it was meant for 6? Not sure need to test this.

G.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to