comment about changed behaviout in 4.3

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@92147 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christian Stocker 2002-08-15 10:29:56 +00:00
parent 4fea79ed7a
commit a2f5757ad0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 -->
<refentry id='function.DomNode-replace-node'>
<refnamediv>
@ -15,7 +15,7 @@
<methodparam><type>object</type><parameter>newnode</parameter></methodparam>
</methodsynopsis>
<para>
This function replaces an existing node with the passed
(PHP 4.2) This function replaces an existing node with the passed
new node. Before the replacement
<parameter>newnode</parameter> is copied if it has a parent to
make sure a node which is
@ -25,6 +25,12 @@
<function>DomNode_first_child</function>,
<function>DomNode_child_nodes</function> etc..
</para>
<para>
(PHP 4.3) This function replaces an existing node with the passed new node. It is not
copied anymore. If <parameter>newnode</parameter> was already inserted in the document
it is first unlinked from its existing context. If the replacement succeds the old
node is returned.
</para>
<para>
See also <function>DomNode_append_child</function>
</para>