We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1f5c8a + eb8ea14 commit d766e91Copy full SHA for d766e91
NEWS
@@ -8,10 +8,6 @@ PHP NEWS
8
. Fixed bug GH-9227 (Trailing dots and spaces in filenames are ignored).
9
(cmb)
10
11
-- DOM:
12
- . Fixed bug #79451 (Using DOMDocument->replaceChild on doctype causes
13
- double free) (NathanFreeman)
14
-
15
- Streams:
16
. Fixed bug GH-9316 ($http_response_header is wrong for long status line).
17
(cmb, timwolla)
ext/dom/node.c
@@ -20,7 +20,6 @@
20
#endif
21
22
#include "php.h"
23
24
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
25
#include "php_dom.h"
26
@@ -1004,7 +1003,6 @@ PHP_METHOD(DOMNode, replaceChild)
1004
1003
xmlNodePtr newchild, oldchild, nodep;
1005
dom_object *intern, *newchildobj, *oldchildobj;
1006
int stricterror;
1007
- bool replacedoctype = false;
1008
1009
int ret;
1010
0 commit comments