cvs: ZendEngine2 / ZEND_CHANGES

From: Date: Mon, 20 Oct 2003 10:26:03 +0000
Subject: cvs: ZendEngine2 / ZEND_CHANGES
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1924@lists.php.net to get a copy of this message
helly Mon Oct 20 06:26:03 2003 EDT Modified files: /ZendEngine2 ZEND_CHANGES Log: Update Index: ZendEngine2/ZEND_CHANGES diff -u ZendEngine2/ZEND_CHANGES:1.58 ZendEngine2/ZEND_CHANGES:1.59 --- ZendEngine2/ZEND_CHANGES:1.58 Mon Oct 20 06:06:31 2003 +++ ZendEngine2/ZEND_CHANGES Mon Oct 20 06:26:03 2003 @@ -492,16 +492,21 @@ 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.

« previous php.zend-engine.cvs (#1924) next »