Re: [VOTE] Making stdClass iterable
| From: | Côme Chilliet | Date: | Tue, 05 Feb 2019 09:24:34 +0000 |
| Subject: | Re: [VOTE] Making stdClass iterable | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104163@lists.php.net to get a copy of this message | ||
Hello,
What is the usecase for this?
The RFC does not explain what it would be useful for.
json_decode already provides an option for getting arrays instead of objects.
All in all the RFC does not provide enough information. As I understand it if stdClass is
Traversable then all objects are, no?
Côme