{"status":"ok","params":{"stream_token":"token=lTQ4sJx9vK7pR7kgeYVDgQ&e=1448284525&u=37997"}}
I would like to parse this string and need
token=lTQ4sJx9vK7pR7kgeYVDgQ&e=1448284525&u=37997
Hows that possible in PHP?
echo json_decode('{"status":"ok","params":{"stream_token":"token=U8h5Ma12SrlizPoFm-Nc5w&e=1448285819&u=37997"}}');
throuse the following error:
Catchable fatal error: Object of class stdClass could not be converted to string