Hi everybody

I'd like to propose a change to stdClass so that it can satisfy the
iterable parameter/return type.

Firstly I acknowledge that this isn't an ideal solution, but I think it
gets us to a better state than we're in today. It shouldn't be necessary,
but while we have such a common function (json_decode) returning stdClass
we should make it easy/unsurprising to work with.

https://wiki.php.net/rfc/iterable-stdclass

Thanks,
Craig

Reply via email to