json_decode($userinfo); PHP: will decode the json string as object json_decode($userinfo, true); PHP: will decode the json string as array.. For some reason I'm able to extract the json string as array but when I try it to do it as object it breaks. Do you have any idea why? Thanks
Hi, I found out that putting echo in front of json_decode($userinfo); PHP: forcing to break.. but doesn't cause any problem when it is json_decode($userinfo, true); PHP: which is an array.. Interesting find for me..