ID: 34455 Updated by: [EMAIL PROTECTED] Reported By: jumo at gmx dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: debian gnu/linux PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. 1. They are part of SPL thus they are under SPL. 2. I've mentioned parents in the function description. Previous Comments: ------------------------------------------------------------------------ [2005-09-11 13:29:38] jumo at gmx dot de and the search is not helpfull: http://www.php.net/manual-lookup.php?pattern=interface ------------------------------------------------------------------------ [2005-09-10 14:44:27] jumo at gmx dot de Description: ------------ Hi, why aren't the functions class_implements and class_parents here: http://www.php.net/manual/en/ref.classobj.php 2nd: the documentation of class_implements reads class_implements -- Return the interfaces which are implemented by the given class but it should be changed to something like: class_implements -- Return the interfaces which are implemented by the given class and its parent classes. Reproduce code: --------------- <?php interface A {} interface B {} class C implements A {} class D extends C implements B {} class E extends D {} $e = new E; print_r( class_implements( $e )); ?> Expected result: ---------------- Array() Actual result: -------------- Array ( [A] => A [B] => B ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34455&edit=1