summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-02-11 22:42:53 +0000
committerMarcus Boerger <helly@php.net>2004-02-11 22:42:53 +0000
commit39894ea7c1e757456b571f5b9c235be42cd0d496 (patch)
tree426e0802b09e20c7ca2531baba6a8daaf5367552
parent4256448a5fce166e55e37f9eb782f926cb2e3895 (diff)
downloadphp-git-39894ea7c1e757456b571f5b9c235be42cd0d496.tar.gz
Update
-rw-r--r--Zend/ZEND_CHANGES8
1 files changed, 5 insertions, 3 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES
index 2402033862..2508b8ff3b 100644
--- a/Zend/ZEND_CHANGES
+++ b/Zend/ZEND_CHANGES
@@ -187,7 +187,9 @@ Changes in the Zend Engine 2.0
An interface may extend one or more base interfaces (but not
implement them). Neither a class nor an interface can inherit
- methods of the same name from different root interfaces.
+ methods of the same name from different root interfaces.
+
+ Interfaces may contain abstract static methods.
Example:
@@ -196,12 +198,12 @@ Changes in the Zend Engine 2.0
function dump();
}
- interface Streamable {
+ interface Streamable extends Printable {
function writeToStream();
static function readFromStream();
}
- class PrintableExample implements Printable, Streamable {
+ class PrintableExample implements Streamable {
public function dump() {
// ...
}