note 107593 added to function.json-encode

From: Date: Mon, 20 Feb 2012 16:28:31 +0000
Subject: note 107593 added to function.json-encode
Groups: php.notes 
Request: Send a blank email to php-notes+get-186238@lists.php.net to get a copy of this message
Experiencing a really strange problem, using json_encode As far as I can tell the results from it are correct in Firefox, Opera, Safari and Internet Explorer. I'm using it to return an encoded JSON object to a client, the client is written in Javascript and when it recieves the response the big numbers are not the same as they were on the server for example if I encode the following: 1329755187235,16944626,66,Hethel Engineering Centre,sync'd,52.555115,1.179297,84790920,678327360,371890,0,-435.8460651025,0.1952015970400005,0.39737367630004883 What I received at the client is: 1329725609850,335539287,66,Hethel Engineering Centre,sync'd,52.555000,1.179380,1677057192,13416457536,7355514,0,0.0,0.0,0.0, This only occurs in IE9, the other browsers received the correct data. ---- Server IP: 69.147.83.197 Probable Submitter: 193.34.187.227 ---- Manual Page -- http://www.php.net/manual/en/function.json-encode.php Edit -- https://master.php.net/note/edit/107593 Del: integrated -- https://master.php.net/note/delete/107593/integrated Del: useless -- https://master.php.net/note/delete/107593/useless Del: bad code -- https://master.php.net/note/delete/107593/bad+code Del: spam -- https://master.php.net/note/delete/107593/spam Del: non-english -- https://master.php.net/note/delete/107593/non-english Del: in docs -- https://master.php.net/note/delete/107593/in+docs Del: other reasons-- https://master.php.net/note/delete/107593 Reject -- https://master.php.net/note/reject/107593 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186238) next »