DomNode- append_sibling

( unknown )

DomNode- append_sibling -- Adds new sibling to a node

Description

object DomNode- append_sibling ( object newnode)

The child can be created with e.g . DomDocument_create_element( ) , DomDocument_create_text( ) etc . or simply by using any other node .

This function has been added to provide the behaviour of DomNode_append_child( ) as it works till PHP 4.2 .

See also DomNode_append_before( ) .