summaryrefslogtreecommitdiff
path: root/Zend/ZEND_CHANGES
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2004-02-05 10:41:55 +0000
committerSebastian Bergmann <sebastian@php.net>2004-02-05 10:41:55 +0000
commit0e3ce62c7b5f28fb9052f62d14d059a2555316a0 (patch)
tree0fa8285786d94d5ac5696af13a78fac28b656ac3 /Zend/ZEND_CHANGES
parent2c1dcf32a04482613229b5d31b736b789a1dbc9b (diff)
downloadphp-git-0e3ce62c7b5f28fb9052f62d14d059a2555316a0.tar.gz
Committing for Jan.
Diffstat (limited to 'Zend/ZEND_CHANGES')
-rw-r--r--Zend/ZEND_CHANGES10
1 files changed, 6 insertions, 4 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES
index 80d9f2c107..b6e996e0b9 100644
--- a/Zend/ZEND_CHANGES
+++ b/Zend/ZEND_CHANGES
@@ -48,6 +48,9 @@ Changes in the Zend Engine 2.0
?>
+ Zend Engine 2.0 will issue a compile error, if an assignment
+ to $this is found.
+
* Private and Protected Members.
The Zend Engine 2.0 introduces private and protected member
@@ -238,8 +241,7 @@ Changes in the Zend Engine 2.0
* Final methods and classes.
The Zend Engine 2.0 introduces the "final" keyword to declare
- final members and methods. Those cannot be overridden by
- sub-classes.
+ final methods. Those cannot be overridden by sub-classes.
Example:
@@ -266,7 +268,7 @@ Changes in the Zend Engine 2.0
// class Bork extends Foo {}
?>
- Properties cannot be final.
+ Properties cannot be final. See per-class constants below.
Old code that has no user-defined classes or functions named
'final' should run without modifications.
@@ -306,7 +308,7 @@ Changes in the Zend Engine 2.0
will supply a function that imports all of the properties from
the source object, so that they can start with a by-value
replica of the source object, and only override properties that
- need to be changed. [The function hasn't been implemented yet]
+ need to be changed.
Example: