PHP __autoload() with namespace
问题 spl_autoload_register('Think\Think::autoload'); Under namespace Think\ I created the above register function,when I try to use a class that has not been included like class Storeage,php will surposely pass Storeage as the variable to function Think\Think::autoload,but it actually passed Think\Storeage as the variable,why it adds the extra Think\ to the autoload instead of just Storeage? Does that mean autoload will only search for classes which are declared under the same namespace where the