Re: [Coding Standards] Loading all files at once
| From: | Joshua Eichorn | Date: | Mon, 09 Jul 2007 22:23:39 +0000 |
| Subject: | Re: [Coding Standards] Loading all files at once | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47325@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
Hi, Arnaud Limbourg wrote:-joshI am confused here: you are trying to optimize for $5/month shared hosts or for people who are using opcode caches and want to squeeze every last bit of performance from their top hardware? bothI'm clueless as to what you're referring to here. I use PEAR, Solar, and Zend Framework regularly, and typically have them installed to a common directory, leaving me with a simple include_path of: .:/path/to/pear and never have a problem, even when using __autoload() (check out Zend_Loader::registerAutoload() for a PEAR-friendly spl_autoload implementation, btw). Could you please elaborate on the "include_path mess" that you're trying to solve with this?It is usually a problem with shared hosts eve though set_include_path() exists a lot of people don't seem to know about it/don't use it/cannot use it.