Re: [PHP-DEV] RE : [PHP-DEV] Namespaces and __autoload()

2007-09-10 Thread Marcus Boerger
Hello Stanislav, me neither, I just wanted to clarify :-) marcus Monday, September 10, 2007, 6:48:14 PM, you wrote: >> I guess the point is that ppl might want to have interfaces use different >> approach than they want class to. For instance classes get filenames with >> just the classname f

Re: [PHP-DEV] RE : [PHP-DEV] Namespaces and __autoload()

2007-09-10 Thread Stanislav Malyshev
I guess the point is that ppl might want to have interfaces use different approach than they want class to. For instance classes get filenames with just the classname followed by '.php' while interfaces might get a prefix 'i_' or a different extension like '.inc'. Well, since now autoloader does

Re: [PHP-DEV] RE : [PHP-DEV] Namespaces and __autoload()

2007-09-10 Thread Marcus Boerger
Hello Stanislav, Saturday, September 8, 2007, 1:50:24 AM, you wrote: >> Actually, an autoload handler should never emit errors or throw >> exceptions. With handlers registered through SPL, it is already the >> case. When using an __autoload() functions, raising an error when a >> symbol is not fo

Re: [PHP-DEV] RE : [PHP-DEV] Namespaces and __autoload()

2007-09-07 Thread Stanislav Malyshev
Actually, an autoload handler should never emit errors or throw exceptions. With handlers registered through SPL, it is already the case. When using an __autoload() functions, raising an error when a symbol is not found is useless because we know that the PHP interpreter will do it. So, I propose