cvs: ZendEngine2 / ZEND_CHANGES
| From: | Sebastian Bergmann | Date: | Wed, 26 Feb 2003 08:27:17 +0000 |
| Subject: | cvs: ZendEngine2 / ZEND_CHANGES | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-973@lists.php.net to get a copy of this message | ||
sebastian Wed Feb 26 03:27:17 2003 EDT
Modified files:
/ZendEngine2 ZEND_CHANGES
Log:
Syntactic sugar is sweet.
Index: ZendEngine2/ZEND_CHANGES
diff -u ZendEngine2/ZEND_CHANGES:1.48 ZendEngine2/ZEND_CHANGES:1.49
--- ZendEngine2/ZEND_CHANGES:1.48 Mon Feb 24 05:38:43 2003
+++ ZendEngine2/ZEND_CHANGES Wed Feb 26 03:27:14 2003
@@ -175,6 +175,11 @@
Foo::$aVariable = 'someValue';
?>
+ A namespace's name may contain colons to denote "sub-namespaces".
+ This is pure syntactic sugar, the Zend Engine will not see, for
+ instance, the namespaces "Package", "Package:Subpackage" and
+ "Package:Subpackage:Subsubpackage" as related.
+
To avoid ambiguities in the '::' resolution there may be no
global class and namespace with the same name.