可以扩展其他类的接口吗?

Sau*_*tel 1 php oop inheritance interface

我在zend网站上找到了这个

interface ResultSetInterface extends \Traversable, \Countable
{
    public function initialize($dataSource);
    public function getFieldCount();
}
Run Code Online (Sandbox Code Playgroud)

是否有可能扩展类接口?和多重继承?因为我知道PHP不支持多重继承.点击这里

谁能清除这一点.

Ale*_*Guz 5

从文档https://secure.php.net/manual/en/language.oop5.interfaces.php

可以使用extends运算符将接口扩展为类.

它们只能扩展其他接口.