>
<methodparam><type>object</type><parameter>newnode</parameter></methodparam>
>      </methodsynopsis>
>      <para>
> -     This function replaces the child <parameter>oldnode</parameter>
> +     (PHP 4.2) This function replaces the child
<parameter>oldnode</parameter>
>       with the passed new node. If the new node is already a child it
>       will not be added a second time. If the old node cannot be found
>       the function returns false. If the replacement succeds the old node
>       is returned.
> +    </para>
> + <para>
> + (PHP 4.3) This function replaces the child
<parameter>oldnode</parameter>
> +     with the passed <parameter>newnode</parameter>, even if the new node
already
> + is a child of the DomNode. If <parameter>newnode</parameter> was already
> + inserted in the document it is first unlinked from its existing context.
> + If the old node cannot be found the function returns false. If the
replacement
> + succeds the old node is returned. (This behaviour is according to the
W3C specs).
>      </para>
>      <para>

Please do not use tabs for indentation. There should be no tabs
in phpdoc XML documents...

Goba


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to