cvs: ZendEngine2 / ZEND_CHANGES
| From: | Sebastian Bergmann | Date: | Thu, 05 Feb 2004 10:41:55 +0000 |
| Subject: | cvs: ZendEngine2 / ZEND_CHANGES | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2330@lists.php.net to get a copy of this message | ||
sebastian Thu Feb 5 05:41:55 2004 EDT
Modified files:
/ZendEngine2 ZEND_CHANGES
Log:
Committing for Jan.
http://cvs.php.net/diff.php/ZendEngine2/ZEND_CHANGES?r1=1.72&r2=1.73&ty=u
Index: ZendEngine2/ZEND_CHANGES
diff -u ZendEngine2/ZEND_CHANGES:1.72 ZendEngine2/ZEND_CHANGES:1.73
--- ZendEngine2/ZEND_CHANGES:1.72 Tue Feb 3 11:56:37 2004
+++ ZendEngine2/ZEND_CHANGES Thu Feb 5 05:41:55 2004
@@ -48,6 +48,9 @@
?>
+ 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 @@
* 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 @@
// 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 @@
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: