How to determine if a php object represents a sequential array rather than associative dictionary?

后端 未结 0 1007
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-21 06:14

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题