Re: Making it easier to leverage APC
| From: | Pierre | Date: | Sat, 02 Dec 2006 15:01:41 +0000 |
| Subject: | Re: Making it easier to leverage APC | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4377@lists.php.net to get a copy of this message | ||
Hello,
On 12/2/06, Edin Kadribasic <edink@php.net> wrote:
Hello, From what I understand conditional includes are not the only probem. Having includes use variables/constants has the same net effect:As far as I understand, the real problem is the conditional declaration of classes/functions, especially when the same class names are used for many different implementations (as Lukas pointed out but it seems that there is a misunderstanding). I think it is not really a critical issue as there is (clean) solutions. However the general mess with autoload, include/require, include_once/require_once is rather confusing. I like the flexibility of the current system, but it is not really user friendly, not for a high level language like PHP. I see only one solution, the import (a la python for example) support. But I dream about it since years. --Pierre