|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-17 06:34 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ The interface RecursiveIterator "implements" Iterator, where the syntax requires it to "extends". Reproduce code: --------------- interface RecursiveIterator implements Iterator { /** @return whether the current element has children */ function hasChildren(); /** @return the sub iterator for the current element * @note The returned object must implement RecursiveIterator. */ function getChildren(); } Expected result: ---------------- interface RecursiveIterator extends Iterator { /** @return whether the current element has children */ function hasChildren(); /** @return the sub iterator for the current element * @note The returned object must implement RecursiveIterator. */ function getChildren(); } Actual result: -------------- The interface RecursiveIterator at ext/spl/internals/recursiveiterator.inc is using the wrong syntax "implements" instead of "extends", just like the OuterIterator correctly does for example. It works anyway but also affects the documentation generated by doxygen.