diff options
| author | Sebastian Bergmann <sebastian@php.net> | 2001-12-05 07:04:16 +0000 |
|---|---|---|
| committer | Sebastian Bergmann <sebastian@php.net> | 2001-12-05 07:04:16 +0000 |
| commit | 8b34428167898d1445077614ddff5050118fdc02 (patch) | |
| tree | e1ac97e3e2635978aff9883b3983a2fe31152cf0 | |
| parent | b49f07a92d1b2e5e60368c4073961da07cd443ca (diff) | |
| download | php-git-8b34428167898d1445077614ddff5050118fdc02.tar.gz | |
Document recent changes.
| -rw-r--r-- | Zend/ZEND_CHANGES | 23 |
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, |
