]> granicus.if.org Git - php/commitdiff
Document recent changes.
authorSebastian Bergmann <sebastian@php.net>
Wed, 5 Dec 2001 07:04:16 +0000 (07:04 +0000)
committerSebastian Bergmann <sebastian@php.net>
Wed, 5 Dec 2001 07:04:16 +0000 (07:04 +0000)
Zend/ZEND_CHANGES

index 1570bd53c9d2509b5f06734187ff44d66a801dc8..fda1c2ca7b7597d359d173131ecc1d87486cf04e 100644 (file)
@@ -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,