When using json_decode I am getting fields with unexpected strings. My json file is:
{
buyer_accepts_marketing: false,
cart_token: "eeafa272cebfd4b22385bc4b645e762c",
id: 327474488104976400,
}
and my relevant php code is
$info = json_decode($file,true);
print $info["id"];
echo "<br>";
print $info["cart_token"];
The Output I am getting is
3.2747448810498E+17
eeafa272cebfd4b22385bc4b645e762c
Why am I not getting the correct value of id?