summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/ZEND_CHANGES23
1 files changed, 23 insertions, 0 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES
index 1570bd53c9..fda1c2ca7b 100644
--- a/Zend/ZEND_CHANGES
+++ b/Zend/ZEND_CHANGES
@@ -87,6 +87,29 @@ Changes in the Zend Engine 2.0
Old code that does not take advantage of namespaces will run
without modifications.
+ * Static member variables of static classes can now be
+ initialized.
+
+ <?php
+ class foo
+ {
+ static $my_static = 5;
+ }
+
+ print foo::$my_static;
+ ?>
+
+ * Class constants.
+
+ <?php
+ class foo
+ {
+ const hey = "hello";
+ }
+
+ print foo::hey;
+ ?>
+
Changes in the Zend Engine 1.0
The Zend Engine was designed from the ground up for increased speed,