Re: [PHP-DEV] namespace implementation (irritating warning and autoload)

2008-04-07 Thread Stanislav Malyshev
Hi! Executing the code above results in a warning: "The use statement with non-compound name 'Test1' has no effect in [...]". This is correct, use Test1 is a no-op. I understand the rationale behind this warning but it simply isn't true: omitting the use statement results in a fatal error: "

[PHP-DEV] namespace implementation (irritating warning and autoload)

2008-04-05 Thread Julian Reich
Hi, I recently started porting an application to PHP 5.3. 1. While testing the new namespace implementation I noticed the following: Executing the code above results in a warning: "The use statement with non-compound name 'Test1' has no effect in [...]". I understand the rationale behind t