Skip to content

Commit a65f9d9

Browse files
committed
SimpleXMLElement::children() returns null for attribute nodes
php/doc-en@1ceec35
1 parent f290878 commit a65f9d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/simplexml/simplexmlelement/children.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5916fd8f742127259912e6510904451849928020 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 1ceec35d4df77a07a473f1e794bb0fae85046069 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa,shimooka,mumumu -->
55
<refentry xml:id="simplexmlelement.children" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -53,6 +53,7 @@
5353
<para>
5454
ノードが子を持つかどうかにかかわらず
5555
<classname>SimpleXMLElement</classname> 要素を返します。
56+
ノードが属性である場合は、&null; を返します。
5657
</para>
5758
</refsect1>
5859

0 commit comments

Comments
 (0)