ReflectionClass::getInterfaces 获取接口 &reftitle.description; public arrayReflectionClass::getInterfaces 获取接口。 &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; 接口的关联数组,数组键是接口(interface)的名称,数组的值是 ReflectionClass 对象。 &reftitle.examples; <methodname>ReflectionClass::getInterfaces</methodname> 示例 getInterfaces()); ?> ]]> &example.outputs.similar; ReflectionClass Object ( [name] => Foo ) [Bar] => ReflectionClass Object ( [name] => Bar ) ) ]]> &reftitle.seealso; ReflectionClass::getInterfaceNames