Re: Namespaces and __autoload()

From: Date: Tue, 28 Aug 2007 16:31:05 +0000
Subject: Re: Namespaces and __autoload()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-31955@lists.php.net to get a copy of this message
Why don't we add an optional second argument to __autoload() that receives the fully qualified namespace name of the class that should be autoloaded? That doesn't break BC and it prevents conflicts.
The first argument already receives that, why would you need the second one? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31955) next »