com doc/ja: SimpleXMLElement::attributes() may return NULL: reference/simplexml/simplexmlelement/attributes.xml
| From: | Yoshinari Takaoka | Date: | Mon, 08 Mar 2021 13:52:41 +0000 |
| Subject: | com doc/ja: SimpleXMLElement::attributes() may return NULL: reference/simplexml/simplexmlelement/attributes.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6240@lists.php.net to get a copy of this message | ||
Commit: ca3236dd86b86f91cec8a9256d6683c3722295e9
Author: Yoshinari Takaoka <mumumu@mumumu.org> Mon, 8 Mar 2021 22:52:41 +0900
Parents: 0f1e057c2714d7dee8d29427251268ffd2a5333d
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=ca3236dd86b86f91cec8a9256d6683c3722295e9
Log:
SimpleXMLElement::attributes() may return NULL
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-482.
Changed paths:
M reference/simplexml/simplexmlelement/attributes.xml
Diff:
diff --git a/reference/simplexml/simplexmlelement/attributes.xml
b/reference/simplexml/simplexmlelement/attributes.xml
index e4b4a6a197..b34b60d920 100644
--- a/reference/simplexml/simplexmlelement/attributes.xml
+++ b/reference/simplexml/simplexmlelement/attributes.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: cd38bc2a916cbf9687c52f8b4af371cae8a182e4 Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: 793c9fc579641578ad0c13dddc8d222ed6ff5280 Maintainer: takagi Status: ready
-->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<refentry xml:id="simplexmlelement.attributes" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>SimpleXMLElement</type><methodname>SimpleXMLElement::attributes</methodname>
+ <modifier>public</modifier> <type
class="union"><type>SimpleXMLElement</type><type>null</type></type><methodname>SimpleXMLElement::attributes</methodname>
<methodparam
choice="opt"><type>string</type><parameter>ns</parameter><initializer>&null;</initializer></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>is_prefix</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>