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

2007-09-12 Thread P
> From: Stut [mailto:[EMAIL PROTECTED] > > This would need to come from the user implementation of __autoload > through naming conventions or a lookup table. PHP does not > get involved > with resolving a type to a filename, and rightly so. The question is not to have PHP get involved in the s

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

2007-09-12 Thread Marcus Boerger
Hello LAUPRETRE, Wednesday, September 12, 2007, 3:32:13 PM, you wrote: >> From: Pawel Stradomski [mailto:[EMAIL PROTECTED] >> >> B), but what with following language construct: >> >> function doSomething (Service s) {...} >> >> PHP tries to autoload type Service, but it can't know if it's >>

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

2007-09-12 Thread P
> From: Pawel Stradomski [mailto:[EMAIL PROTECTED] > > B), but what with following language construct: > > function doSomething (Service s) {...} > > PHP tries to autoload type Service, but it can't know if it's > looking for interface or class. Both are possible. Correct. I didn't consider th