接口
声明和初始化
方法要求
构造函数的要求
接口继承
符合性检查(is, as)
默认方法
接口集合
<?php
interface
Printable
{
function
print
();
}
$printable =
new
Printable
();
//<- Error