Re: [RFC] Iterable
| From: | Jeremy Mikola | Date: | Sat, 02 Jul 2016 22:07:42 +0000 |
| Subject: | Re: [RFC] Iterable | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94362@lists.php.net to get a copy of this message | ||
On Saturday, July 2, 2016, Aaron Piotrowski <aaron@trowski.com> wrote:
>
>
>
There was no discussion on the list of allowing stdClass, but I did discuss
> it with some people in chat. Our consensus was that a casting to an array
> was a reasonable and simple requirement to allow an instance of stdClass to
> be iterable.
>
Sounds good to me. Happy to hear it was discussed. Thanks!
--
jeremy mikola