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