|
PHP5中文手册
class_implements(PHP 5) class_implements — Return the interfaces which are implemented by the given class 说明
array class_implements
( mixed $class
[, bool $autoload
] )
This function returns an array with the names of the interfaces that the given class and its parents implement. 参数
返回值Returns an array or FALSE on error. 更新日志
范例
Example#1 class_implements() example
<?php 上例的输出类似于:
|