Browse Source

Update

PEAR_1_4DEV
Marcus Boerger 23 years ago
parent
commit
c92b0202c7
  1. 7
      Zend/ZEND_CHANGES

7
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.

Loading…
Cancel
Save