On Mon, 14 Jan 2019 at 13:23, Craig Duncan <p...@duncanc.co.uk> wrote:

> What about an array is more iterable than a stdClass object?
>


An array is the structure PHP provides to represent a list, or an ordered
collection of arbitrary key-value pairs; an object, whether stdClass or
otherwise, is neither of these things.

I would instead ask: what about a stdClass object is more iterable than an
object created from a user-defined class?

Regards,
-- 
Rowan Collins
[IMSoP]

Reply via email to