Re: New zend_compile.c to solve all of the duplicate function problems
| From: | Daniel Beckham | Date: | Fri, 19 Oct 2001 14:33:33 +0000 |
| Subject: | Re: New zend_compile.c to solve all of the duplicate function problems | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68400@lists.php.net to get a copy of this message | ||
The reason it works inside of an if/endif is because the code is never
pre-compiled and only executed during run time. For large code libraries,
like we have here at our office, this would cause a performance decrease.
Daniel
----- Original Message -----
From: "Edin Kadribasic" <edink@proventum.net>
To: "Daniel Beckham" <danbeck@dealnews.com>
Cc: "PHP Development" <php-dev@lists.php.net>
Sent: Friday, October 19, 2001 9:27 AM
Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate
function problems
> > By all means, if you have a decent proposal that doesn't involve
> exclusively
> > using include_once() or if/endif everywhere possible, we would love to
> hear
> > it.
>
> I'm just curious: what's wrong with using if/endif where include_once
isn't
> good enough?
>
>
>