Home >Backend Development >PHP Tutorial > php json_encode有关问题

php json_encode有关问题

WBOY
WBOYOriginal
2016-06-13 12:42:43803browse

php json_encode问题
rt小弟今天遇到个奇怪的问题

只是使用json_encode转换的json编码,圈出的地方是应该是个自然序列下标数组,可不知为何转换成了对象,但下标却标记为0,请了解的大神们为小弟出出主意,谢谢了。

php?json_encode PHP JSON json_encode
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn