note 106644 added to function.json-last-error

From: Date: Thu, 24 Nov 2011 05:16:31 +0000
Subject: note 106644 added to function.json-last-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-184649@lists.php.net to get a copy of this message
While this can obviously change between versions, the current error codes are as follows: 0 = JSON_ERROR_NONE 1 = JSON_ERROR_DEPTH 2 = JSON_ERROR_STATE_MISMATCH 3 = JSON_ERROR_CTRL_CHAR 4 = JSON_ERROR_SYNTAX 5 = JSON_ERROR_UTF8 I'm only posting these for people who may be trying to understand why specific JSON files are not being decoded. Please do not hard-code these numbers into an error handler routine. ---- Server IP: 117.55.229.1 Probable Submitter: 132.234.251.222 (proxied: 132.234.213.46) ---- Manual Page -- http://www.php.net/manual/en/function.json-last-error.php Edit -- https://master.php.net/note/edit/106644 Del: integrated -- https://master.php.net/note/delete/106644/integrated Del: useless -- https://master.php.net/note/delete/106644/useless Del: bad code -- https://master.php.net/note/delete/106644/bad+code Del: spam -- https://master.php.net/note/delete/106644/spam Del: non-english -- https://master.php.net/note/delete/106644/non-english Del: in docs -- https://master.php.net/note/delete/106644/in+docs Del: other reasons-- https://master.php.net/note/delete/106644 Reject -- https://master.php.net/note/reject/106644 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184649) next »