Re: alpha2 scheduled
| From: | Stanislav Malyshev | Date: | Fri, 29 Aug 2008 17:53:02 +0000 |
| Subject: | Re: alpha2 scheduled | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40140@lists.php.net to get a copy of this message | ||
Hi!
It wasn't designed to have multiple namespaces at all to begin with. But asYou 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
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com