note 115783 added to json.constants

From: Date: Tue, 23 Sep 2014 00:31:56 +0000
Subject: note 115783 added to json.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-200503@lists.php.net to get a copy of this message
If you curious of the numeric values of the constants, as of JSON 1.2.1, the constants have the following values (not that you should use the numbers directly): JSON_HEX_TAG => 1 JSON_HEX_AMP => 2 JSON_HEX_APOS => 4 JSON_HEX_QUOT => 8 JSON_FORCE_OBJECT => 16 JSON_NUMERIC_CHECK => 32 JSON_UNESCAPED_SLASHES => 64 JSON_PRETTY_PRINT => 128 JSON_UNESCAPED_UNICODE => 256 JSON_ERROR_DEPTH => 1 JSON_ERROR_STATE_MISMATCH => 2 JSON_ERROR_CTRL_CHAR => 3 JSON_ERROR_SYNTAX => 4 JSON_ERROR_UTF8 => 5 JSON_OBJECT_AS_ARRAY => 1 JSON_BIGINT_AS_STRING => 2 ---- Server IP: 72.52.91.14 Probable Submitter: 207.7.104.10 ---- Manual Page -- http://php.net/manual/en/json.constants.php Edit -- https://master.php.net/note/edit/115783 Del: integrated -- https://master.php.net/note/delete/115783/integrated Del: useless -- https://master.php.net/note/delete/115783/useless Del: bad code -- https://master.php.net/note/delete/115783/bad+code Del: spam -- https://master.php.net/note/delete/115783/spam Del: non-english -- https://master.php.net/note/delete/115783/non-english Del: in docs -- https://master.php.net/note/delete/115783/in+docs Del: other reasons-- https://master.php.net/note/delete/115783 Reject -- https://master.php.net/note/reject/115783 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200503) next »