Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)

From: Date: Tue, 10 Jul 2007 07:11:47 +0000
Subject: Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-30723@lists.php.net to get a copy of this message
Well if we are speaking of best practices, the sensible thing for libs to do is to provide a function/method users can call inside their own __autoload() implementation. This way users are free to make their __autoload() work as they please/require.
That's OK too, but this requires the user to always implement __autoload. And now what happens if this module is aggregated into other application? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#30723) next »