When I JSON decoded the JSON in my php one of the numeric value is altered. My JSON is given below:
[
{
"__m":"m_0_7p"
},
100001572061234,
null,
"profile_friends",
"pb_friends_tl",
"\/ajax\/add_friend\/action.php",
"",
true,
null,
false,
null,
null,
"friends_tab",
[]
]
On Json decode the output for the above json is
Array ( [0] => stdClass Object ( [__m] => m_0_7o ) [1] => 1.000091378372E+14 [2] => [3] => profile_friends [4] => pb_friends_tl [5] => /ajax/add_friend/action.php [6] => [7] => 1 [8] => [9] => [10] => [11] => [12] => friends_tab [13] => Array ( ) )
where '100001572061234' changed into 1.000091378372E+14. Don't know why this is happening.
$decoded = json_decode($encoded, false, null, JSON_BIGINT_AS_STRING);- nl1.www.net/manual/en/function.json-decode.php