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. 
@noopable so, test this method.
I think a call of foreach don't test anything, don't `assert` nothing.