On 8/31/07, Michael Baierl <[EMAIL PROTECTED]> wrote:
> Matt Kaatman wrote:
> > I've started leaving the closing ?> tag out of my scripts.
> >
> > That way there's no chance for me to accidently type an extra character or
> > line break.
> >
> > It's actually more efficient (albeit probably insignificantly) as PHP
> > doesn't have to jump out of parse mode.
>
> Personally I think this is bad practice and if you start  noticing this
> difference in speed you have too many files to parse anyways... and you
> are not using a opcode-cache.

Personally, I started doing this as well.
Especially since it's best practice/recommended by the Zend Framework people.

In regard to parsing files - I think the "setback" rather comes from
how you are including (include, require, require_once) them. For those
interested, there are a couple interesting threads over on pear-dev
(search "allfiles" ;-)).

Cheers,
Till
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to