Re: zend_lookup_class()

From: Date: Tue, 08 Apr 2003 16:55:01 +0000
Subject: Re: zend_lookup_class()
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-794@lists.php.net to get a copy of this message
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. -Andrei http://www.gravitonic.com/ "The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong, it usually turns out to be impossible to get at or repair." -- Douglas Adams

« previous php.internals (#794) next »