com doc/ja: Fixed simplexml_import_dom return type: reference/simplexml/functions/simplexml-import-dom.xml
[email protected] (Yoshinari Takaoka) Sat, 13 Feb 2021 16:40:49 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: b10c07056d35eda55145b52e3aed82a4da486c17 Author: Yoshinari Takaoka <[email protected]> Sun, 14 Feb 2021 01:40:49 +0900 Parents: 231d657657408ec98c8bf923695f9615b96304d7 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=b10c07056d35eda55145b52e3aed82a4da486c17 Log: Fixed simplexml_import_dom return type Closes GH-446. Changed paths: M reference/simplexml/functions/simplexml-import-dom.xml Diff: diff --git a/reference/simplexml/functions/simplexml-import-dom.xml b/reference/simplexml/functions/simplexml-import-dom.xml index d1754a3fe8..b9989e642e 100644 --- a/reference/simplexml/functions/simplexml-import-dom.xml +++ b/reference/simplexml/functions/simplexml-import-dom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 2d2492f8d5173b0c8e166e6516746811d7641496 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry xml:id='function.simplexml-import-dom' xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type class="union"><type>SimpleXMLElement</type><type>false</type></type><methodname>simplexml_import_dom</methodname> + <type class="union"><type>SimpleXMLElement</type><type>null</type></type><methodname>simplexml_import_dom</methodname> <methodparam><type>DOMNode</type><parameter>node</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"SimpleXMLElement"</initializer></methodparam> </methodsynopsis> @@ -51,7 +51,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - <type>SimpleXMLElement</type> を返します。&return.falseforfailure;。 + <type>SimpleXMLElement</type> を返します。 + 失敗時に &null; を返します。 </para> &return.falseproblem; </refsect1>