Re: Rethink CS for require_once?

From: Date: Wed, 01 Dec 2004 16:29:53 +0000
Subject: Re: Rethink CS for require_once?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34701@lists.php.net to get a copy of this message
bertrand Gugger wrote:
Hi, I'm puzzled, so I come back to it again, Greg Beaver wrote:
Hi, I would like to suggest a simple and compelling change into the CS for require_once in PEAR packages.
Don't blame if I'm bloody, I try to understand what you suggest. Is it: You want to have all sub "internal" required php to be relative not to the PEAR translation but to the location of the basic requiring pear package ? I retain that user scripts and require of external pckgs MUST still say 'require_once'
yes, exactly. I don't think it is wise to introduce any PEAR-wide dependencies on loading methods. Nothing should hamper the user's ability to write his or her own __autoload() function, as this is an application-level option, and not a package-level option. Greg

« previous php.pear.dev (#34701) next »