note 124098 added to outeriterator.getinneriterator

From: Date: Wed, 07 Aug 2019 12:49:23 +0000
Subject: note 124098 added to outeriterator.getinneriterator
Groups: php.notes 
Request: Send a blank email to php-notes+get-211825@lists.php.net to get a copy of this message
The return type is merely documented here, it's not actually enforced. For instance, the IteratorIterator implementation can return Traversable, which would break the interface. Most likely, this is for backwards compatibility with code written before return type hints existed. It's still possible to create your own namespaced OuterIterator interface that extends the global one and add a typehint for this method in there. ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.195 (proxied: 93.117.198.216) ---- Manual Page -- http://php.net/manual/en/outeriterator.getinneriterator.php Edit -- https://master.php.net/note/edit/124098 Del: integrated -- https://master.php.net/note/delete/124098/integrated Del: useless -- https://master.php.net/note/delete/124098/useless Del: bad code -- https://master.php.net/note/delete/124098/bad+code Del: spam -- https://master.php.net/note/delete/124098/spam Del: non-english -- https://master.php.net/note/delete/124098/non-english Del: in docs -- https://master.php.net/note/delete/124098/in+docs Del: other reasons-- https://master.php.net/note/delete/124098 Reject -- https://master.php.net/note/reject/124098 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211825) next »