svn: /phpdoc/en/trunk/reference/json/ constants.xml functions/json-encode.xml

From: Date: Mon, 09 Jan 2012 11:30:17 +0000
Subject: svn: /phpdoc/en/trunk/reference/json/ constants.xml functions/json-encode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9365@lists.php.net to get a copy of this message
irker Mon, 09 Jan 2012 11:30:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=321949 Log: fix #60673 Bug: https://bugs.php.net/60673 (Open) Small disorder in json constants doc Changed paths: U phpdoc/en/trunk/reference/json/constants.xml U phpdoc/en/trunk/reference/json/functions/json-encode.xml Modified: phpdoc/en/trunk/reference/json/constants.xml =================================================================== --- phpdoc/en/trunk/reference/json/constants.xml 2012-01-09 11:14:01 UTC (rev 321948) +++ phpdoc/en/trunk/reference/json/constants.xml 2012-01-09 11:30:17 UTC (rev 321949) @@ -6,8 +6,7 @@ &extension.constants; <para> The following constants indicate the type of error returned by - <function>json_last_error</function>. They are all available as of - PHP 5.3.0. + <function>json_last_error</function>. </para> <variablelist> <varlistentry> @@ -18,6 +17,7 @@ <listitem> <simpara> No error has occurred. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -29,6 +29,7 @@ <listitem> <simpara> The maximum stack depth has been exceeded. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -40,6 +41,7 @@ <listitem> <simpara> Occurs with underflow or with the modes mismatch. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -51,6 +53,7 @@ <listitem> <simpara> Control character error, possibly incorrectly encoded. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -62,6 +65,7 @@ <listitem> <simpara> Syntax error. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -81,8 +85,7 @@ <para> The following constants can be combined to form options for - <function>json_encode</function>. They are all available as of - PHP 5.3.0. + <function>json_encode</function>. </para> <variablelist> <varlistentry> @@ -93,6 +96,7 @@ <listitem> <simpara> All &lt; and &gt; are converted to \u003C and \u003E. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -104,6 +108,7 @@ <listitem> <simpara> All &amp;s are converted to \u0026. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -115,6 +120,7 @@ <listitem> <simpara> All ' are converted to \u0027. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -126,6 +132,7 @@ <listitem> <simpara> All " are converted to \u0022. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -139,6 +146,7 @@ Outputs an object rather than an array when a non-associative array is used. Especially useful when the recipient of the output is expecting an object and the array is empty. + Available since PHP 5.3.0. </simpara> </listitem> </varlistentry> @@ -161,6 +169,7 @@ </term> <listitem> <simpara> + Encodes large integers as their original string value. Available since PHP 5.4.0. </simpara> </listitem> Modified: phpdoc/en/trunk/reference/json/functions/json-encode.xml =================================================================== --- phpdoc/en/trunk/reference/json/functions/json-encode.xml 2012-01-09 11:14:01 UTC (rev 321948) +++ phpdoc/en/trunk/reference/json/functions/json-encode.xml 2012-01-09 11:30:17 UTC (rev 321949) @@ -44,6 +44,7 @@ <constant>JSON_HEX_AMP</constant>, <constant>JSON_HEX_APOS</constant>, <constant>JSON_NUMERIC_CHECK</constant>, + <constant>JSON_BIGINT_AS_STRING</constant>, <constant>JSON_PRETTY_PRINT</constant>, <constant>JSON_UNESCAPED_SLASHES</constant>, <constant>JSON_FORCE_OBJECT</constant>,

« previous php.doc.cvs (#9365) next »