Hi!

It wasn't designed to have multiple namespaces at all to begin with. But as

You mean multiple namespaces per file, right? Otherwise it sounds kind of silly. Yes, it wasn't designed to have multiple namespaces per file, and it's really bad idea to have multiple namespaces per file in 90% of the cases. In the remaining 10% it's probably a bad idea too.

How so?

namespace foo {
  namespace bar {
    class baz {}
  }
}

According to your won words it is all about name substitution. Explicitly
you were talking about simple text replacement. Now that in mind I see and

No, it's not simple replacement, because hierarchy brings hierarchical resolution, like it is in Ruby.
--
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