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

From: Date: Tue, 10 Jul 2007 07:14:10 +0000
Subject: Re: Re: SPL as non-disablable extension (Was: Re: [PHP-DEV] Simple Namespace Proposal)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-30724@lists.php.net to get a copy of this message
On Tue, 10 Jul 2007, Stanislav Malyshev wrote: > > > 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? The application should define this, not the library or module... Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#30724) next »