diff --git a/reference/domxml/functions/DomElement-get-attribute.xml b/reference/domxml/functions/DomElement-get-attribute.xml index 75bf23f18a..f47539a92f 100644 --- a/reference/domxml/functions/DomElement-get-attribute.xml +++ b/reference/domxml/functions/DomElement-get-attribute.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,10 @@ Returns the attribute with name name of the current node. + + + (PHP >= 4.3 only) If no attribute with given name is found, an empty + string is returned. See also DomElement_set_attribute diff --git a/reference/domxml/functions/DomNode-attributes.xml b/reference/domxml/functions/DomNode-attributes.xml index 4708b242dd..c7b7985006 100644 --- a/reference/domxml/functions/DomNode-attributes.xml +++ b/reference/domxml/functions/DomNode-attributes.xml @@ -1,5 +1,5 @@ - + @@ -18,6 +18,9 @@ This function only returns an array of attributes if the node is of type XML_ELEMENT_NODE. + + (PHP >= 4.3 only) If no attributes are found, NULL is returned. + diff --git a/reference/domxml/functions/DomNode-first-child.xml b/reference/domxml/functions/DomNode-first-child.xml index 6be0200c91..5247718d01 100644 --- a/reference/domxml/functions/DomNode-first-child.xml +++ b/reference/domxml/functions/DomNode-first-child.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ Returns the first child of the node. + + (PHP >= 4.3 only) If no first child is found, NULL is returned. + See also DomNode_last_child, DomNode_next_sibling, diff --git a/reference/domxml/functions/DomNode-last-child.xml b/reference/domxml/functions/DomNode-last-child.xml index accf840417..b97a251e0e 100644 --- a/reference/domxml/functions/DomNode-last-child.xml +++ b/reference/domxml/functions/DomNode-last-child.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ Returns the last child of the node. + + (PHP >= 4.3 only) If no lasat child is found, NULL is returned. + See also DomNode_first_child, DomNode_next_sibling, diff --git a/reference/domxml/functions/DomNode-parent-node.xml b/reference/domxml/functions/DomNode-parent-node.xml index 4647edf3cb..38ac288da4 100644 --- a/reference/domxml/functions/DomNode-parent-node.xml +++ b/reference/domxml/functions/DomNode-parent-node.xml @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ This function returns the parent node. + + (PHP >= 4.3 only) If no parent is found, NULL is returned. + The following example will show two identical lists of children.