svn: /phpdoc/en/trunk/reference/json/functions/ json-encode.xml
| From: | Adam Harvey | Date: | Tue, 06 Nov 2012 05:19:26 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/json/functions/ json-encode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10662@lists.php.net to get a copy of this message | ||
aharvey Tue, 06 Nov 2012 05:19:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328253
Log:
Add a link to the constants page from json_encode() and fix the title of the
example to indicate that we're not trying to show every single option.
Fixes doc bug #63383 (json_encode options bitmask).
Bug: https://bugs.php.net/63383 (Open) json_encode options
bitmask
Changed paths:
U phpdoc/en/trunk/reference/json/functions/json-encode.xml
Modified: phpdoc/en/trunk/reference/json/functions/json-encode.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-encode.xml 2012-11-06 04:41:12 UTC (rev 328252)
+++ phpdoc/en/trunk/reference/json/functions/json-encode.xml 2012-11-06 05:19:26 UTC (rev 328253)
@@ -47,7 +47,9 @@
<constant>JSON_PRETTY_PRINT</constant>,
<constant>JSON_UNESCAPED_SLASHES</constant>,
<constant>JSON_FORCE_OBJECT</constant>,
- <constant>JSON_UNESCAPED_UNICODE</constant>.
+ <constant>JSON_UNESCAPED_UNICODE</constant>. The behaviour of these
+ constants is described on
+ <link linkend="json.constants">the JSON constants page</link>.
</para>
</listitem>
</varlistentry>
@@ -121,7 +123,9 @@
</example>
<example>
- <title>A <function>json_encode</function> example showing all the options in
action</title>
+ <title>
+ A <function>json_encode</function> example showing some options in use
+ </title>
<programlisting role="php">
<![CDATA[
<?php