From: jumo at gmx dot de Operating system: debian gnu/linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: class_implements and class_parents
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 bug report at http://bugs.php.net/?id=34455&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34455&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34455&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34455&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34455&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34455&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34455&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34455&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34455&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34455&r=support Expected behavior: http://bugs.php.net/fix.php?id=34455&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34455&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34455&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34455&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34455&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34455&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34455&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34455&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34455&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34455&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34455&r=mysqlcfg