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: "Class 'Test2::Test1' not found in [...]".

This seems to be a bug.

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to