阅读背景:

如果之前没有访问数组,json_encode将返回null

来源:互联网 

In my code I build an array and encode it using json_encode, json_encode returns null for this array unless I insert the instruction "echo $responce->rows[0][0];" before encoding, if I comment out this row json_encode returns null!In my code I build an array and encode it using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: