Hi!
> The function names might look like this:
> - spl_register_autoloader -> autoloader for everything
Given we already have spl_autoload_register that'd be pretty confusing.
Also, we usually name functions in increasing order of specificity (i.e.
spl_autoload_call/spl_autoload_spl_autoload_functions, not
spl_call_autoloader and spl_give_me_list_of_autoload_functions).
> - spl_register_function_autoloader -> autoloader for functions/consts
> - spl_register_class_autoloader -> current autoloader for classes only
> Or maybe alias php\ to \ namespace auto-magically?
Nope. \ namespace is root namespace, it can not be magically aliased to
anything and should not be.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227