How can I tell if a php object is rather a sequentially iterable object or an associative iterable object?
I would like to distinguish in the same way json_encode does: s