json_encode([0])

$json = json_encode([0]);
var_dump($json);
----
string(3) "[0]"
it is a string, but it is [0]

posted @ 2020-05-25 13:32  qqisnow2021  阅读(156)  评论(0编辑  收藏  举报