svn: /phpdoc/ja/trunk/ language-snippets.ent reference/dom/domdocument.xml

From: Date: Sat, 07 Mar 2020 21:59:53 +0000
Subject: svn: /phpdoc/ja/trunk/ language-snippets.ent reference/dom/domdocument.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5533@lists.php.net to get a copy of this message
mumumu Sat, 07 Mar 2020 21:59:53 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=349346 Log: json_encode fails "silently" for DOMDocument. Updated documentation to reflect that calling json_encode() on a DOMDocument object will result in any empty object being encoded. Changed paths: U phpdoc/ja/trunk/language-snippets.ent U phpdoc/ja/trunk/reference/dom/domdocument.xml Modified: phpdoc/ja/trunk/language-snippets.ent =================================================================== --- phpdoc/ja/trunk/language-snippets.ent 2020-03-07 21:57:14 UTC (rev 349345) +++ phpdoc/ja/trunk/language-snippets.ent 2020-03-07 21:59:53 UTC (rev 349346) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 349322 Maintainer: takagi Status: working --> +<!-- EN-Revision: 349345 Maintainer: takagi Status: working --> <!-- Credits: hirokawa,haruki,shimooka,mumumu --> <!ENTITY installation.enabled.disable 'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'> @@ -1065,7 +1065,10 @@ が使えます。 </para>'> <!ENTITY dom.note.utf8 '<note xmlns="http://docbook.org/ns/docbook"><para>DOM拡張機能 は UTF-8 エンコーディングを使います。ISO-8859-1 エンコーディングのテキストを扱う場合は <function>utf8_encode</function> と <function>utf8_decode</function> を使ってください。ISO-8859-1 以外のエンコーディングの場合は <link linkend="ref.iconv">iconv</link> を使ってください。</para></note>'> +<!ENTITY dom.note.json '<note xmlns="http://docbook.org/ns/docbook"><para><classname>DOMDocument</classname> オブジェクトに対して <function>json_encode</function> を使うと、結果は空オブジェクトをエンコードしたものになります。</para></note>'> + + <!-- Dom Examples --> <!ENTITY dom.book.example '<para xmlns="http://docbook.org/ns/docbook">次の例では、以下のような内容の <filename>book.xml</filename> を使います。</para> <programlisting role="xml" xmlns="http://docbook.org/ns/docbook"> Modified: phpdoc/ja/trunk/reference/dom/domdocument.xml =================================================================== --- phpdoc/ja/trunk/reference/dom/domdocument.xml 2020-03-07 21:57:14 UTC (rev 349345) +++ phpdoc/ja/trunk/reference/dom/domdocument.xml 2020-03-07 21:59:53 UTC (rev 349346) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 349146 Maintainer: takagi Status: ready --> +<!-- EN-Revision: 349342 Maintainer: takagi Status: ready --> <!-- Credits: mumumu --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.domdocument" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>DOMDocument クラス</title> @@ -341,6 +341,7 @@ <section role="notes"> &reftitle.notes; &dom.note.utf8; + &dom.note.json; </section> <!-- }}} -->

« previous php.doc.ja (#5533) next »