PHP Fatal error: Cannot use object of type stdClass as array in错误
在使用phpcurl时,返回了一个json字符串,然后试图使用json_decode()方法对其进行转换,例子代码如下:privatefunctioncallGoogleMapApi($address,$city,$zip){$result="failure";$address=urlencode($address.",".$city.",".$zip);$url="http://maps.goo