Re: Procedural Autoloader?

From: Date: Mon, 22 Nov 2010 23:26:15 +0000
Subject: Re: Procedural Autoloader?
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-309635@lists.php.net to get a copy of this message
On Mon, Nov 22, 2010 at 3:05 PM, Richard Quadling <rquadling@gmail.com>wrote: > Would it be overboard to use a namespace? Aren't namespaces handled by > the autoloader? If not autoload(), how about spl_autoloading? > Autoloading is for determining the path and filename where a named item is defined. Namespaces only give you the path. Even with namespaces, you'd still need to require the files that contain the functions. Plus you'd also need to use the namespace everywhere you use the function because you cannot alias functions--only classes. :( David

« previous php.general (#309635) next »