Incompatible with RecursiveIterator

#4517

http://php.net/manual/en/recursiveiterator.haschildren.php
> Returns TRUE if the current entry can be iterated over, otherwise returns FALSE. 
@malukenho 
I say the spec of the method RecursiveIterator::hasChildren.
Not the class has the method or not.