com doc/ja: Update json-encode.xml: reference/json/functions/json-encode.xml
| From: | Yoshinari Takaoka | Date: | Fri, 19 Feb 2021 13:06:16 +0000 |
| Subject: | com doc/ja: Update json-encode.xml: reference/json/functions/json-encode.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6200@lists.php.net to get a copy of this message | ||
Commit: 5d5b81b2e5c03169a7b0b339afa3556545610d9d
Author: Yoshinari Takaoka <mumumu@mumumu.org> Fri, 19 Feb 2021 22:06:16 +0900
Parents: b6942cd94dbed1dddc930b40a1c67b5df0939fff
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=5d5b81b2e5c03169a7b0b339afa3556545610d9d
Log:
Update json-encode.xml
Should be 'flags' instead of 'options' because argument
$options
was renamed to $flags.
Closes GH-455
Signed-off-by: George Peter Banyard <girgias@php.net>
Changed paths:
M reference/json/functions/json-encode.xml
Diff:
diff --git a/reference/json/functions/json-encode.xml b/reference/json/functions/json-encode.xml
index 5bbde2c5a9..ad295f2573 100644
--- a/reference/json/functions/json-encode.xml
+++ b/reference/json/functions/json-encode.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 9e3b30232be09c56bd18a766b2041da254ef95f0 Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: d446e9e831e436a072cb967dff22287e0132661c Maintainer: takagi Status: ready
-->
<!-- Credits: mumumu -->
<refentry xml:id="function..json-encode" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -162,7 +162,7 @@ echo json_encode($arr);
<example>
<title>
- <function>json_encode</function>
で、利用中のいくつかのオプションを表示する例
+ <function>json_encode</function>
で、利用中のいくつかのフラグを表示する例
</title>
<programlisting role="php">
<![CDATA[
@@ -217,7 +217,7 @@ Associative array always output as object:
{"foo":"bar","baz":"long"}
</screen>
</example>
<example>
- <title>JSON_NUMERIC_CHECK オプションの例</title>
+ <title>JSON_NUMERIC_CHECK の例</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -333,7 +333,7 @@ string(33)
"{"0":"foo","2":"baz","3":"blong"}"
</screen>
</example>
<example>
- <title><constant>JSON_PRESERVE_ZERO_FRACTION</constant>
オプションの例</title>
+ <title><constant>JSON_PRESERVE_ZERO_FRACTION</constant> の例</title>
<programlisting role="php">
<![CDATA[
<?php