Namespaces
| From: | Sam Barrow | Date: | Wed, 05 Dec 2007 05:06:49 +0000 |
| Subject: | Namespaces | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33714@lists.php.net to get a copy of this message | ||
I think support for multiple namespaces in one file should definitely be
used. As far as using curly braces vs using the namespace declaration,
it doesn't really matter to me, however it is important that i be able
to use the same namespace twice:
namespace a {
function function1() {
return true ;
}
}
// some other code
namespace a {
function function2() {
return false ;
}
}