Re: zend_lookup_class()
| From: | (Marcus Börger) | Date: | Tue, 08 Apr 2003 19:30:14 +0000 |
| Subject: | Re: zend_lookup_class() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-815@lists.php.net to get a copy of this message | ||
At 18:55 08.04.2003, Andrei Zmievski wrote:
On Mon, 07 Apr 2003, Andi Gutmans wrote: As zend_lookup_class() is used in the main executer of the engine I'd want to keep it as slim as possible. If you want to create a zend_foo_bar() function which does what you want, feel free to add it but it shouldn't be used in core stuff. Okay, I made a separate function, zend_lookup_ns_class(). What I'm wondering, though, is whether this function should support __autoload() or not. Since it's going to be used by functions like class_exists(), get_class_methods(), etc, does it make sense to call __autoload()? I would think not.I think you should add a boolean parameter to allow/disallow __autoload which defaults to true. marcus