php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31354 Error in DOMNode->insertBefore
Submitted: 2004-12-30 15:13 UTC Modified: 2004-12-31 11:41 UTC
From: kingoleg at mail dot ru Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
 [2004-12-30 15:13 UTC] kingoleg at mail dot ru
Description:
------------
function.dom-domnode-insertbefore.php is constists:

DOMNode->insertBefore --  Adds new child at the end of the children

Reproduce code:
---------------
http://ua2.php.net/manual/en/function.dom-domnode-insertbefore.php

Expected result:
----------------
DOMNode->insertBefore -- Inserts new node as child

OR

DOMNode->insertBefore -- add the new node right before existing node


Actual result:
--------------
DOMNode->insertBefore --  Adds new child at the end of the children

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-31 11:41 UTC] didou@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of didou
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f0ff82f778becd222ca582d0a1d89a01c4f60b48
Log: fix #31354: wrong refpurpose for DOMNode->insertBefore()
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 15:00:02 2025 UTC