diff options
Diffstat (limited to 'ext/dom/tests/bug69373.phpt')
-rw-r--r-- | ext/dom/tests/bug69373.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dom/tests/bug69373.phpt b/ext/dom/tests/bug69373.phpt index ce4510082e..4cb929d1ca 100644 --- a/ext/dom/tests/bug69373.phpt +++ b/ext/dom/tests/bug69373.phpt @@ -6,10 +6,10 @@ Bug #69373 References to deleted XPath query results <?php $doc = new DOMDocument(); for( $i=0; $i<20; $i++ ) { - $doc->loadXML("<parent><child /><child /></parent>"); - $xpath = new DOMXpath($doc); - $all = $xpath->query('//*'); - $doc->firstChild->nodeValue = ''; + $doc->loadXML("<parent><child /><child /></parent>"); + $xpath = new DOMXpath($doc); + $all = $xpath->query('//*'); + $doc->firstChild->nodeValue = ''; } echo 'DONE', PHP_EOL; ?> |