summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-10-20 10:26:03 +0000
committerMarcus Boerger <helly@php.net>2003-10-20 10:26:03 +0000
commitc92b0202c75a00b0a32baabb4ef902870b36bbf8 (patch)
tree6ca9e67be53ed395c0a5e7938862aea47a09d39b
parent445aa744e7908e90f04e59787bf2e2e684f49f0e (diff)
downloadphp-git-c92b0202c75a00b0a32baabb4ef902870b36bbf8.tar.gz
Update
-rw-r--r--Zend/ZEND_CHANGES7
1 files changed, 6 insertions, 1 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES
index 6a7b7c2fad..898cad6e32 100644
--- a/Zend/ZEND_CHANGES
+++ b/Zend/ZEND_CHANGES
@@ -492,16 +492,21 @@ Changes in the Zend Engine 2.0
ShapeFactoryMethod('Square')->draw();
?>
- * Static member variables of classes can now be initialized.
+ * Member variables of classes can now be initialized.
Example:
<?php
class foo {
static $my_static = 5;
+ public $my_prop = 'bla';
}
print foo::$my_static;
+
+ $obj = foo;
+
+ print $obj->my_prop;
?>
* Static Methods.