--TEST--
GH-13012 (DOMNode::isEqualNode() is incorrect when attribute order is different)
--EXTENSIONS--
dom
--FILE--
loadXML("");
foreach ($dom->getElementsByTagName('x') as $x1) {
foreach ($dom->getElementsByTagName('x') as $x2) {
echo "Comparing ", $dom->saveXML($x1), " with ", $dom->saveXML($x2), "\n";
var_dump($x1->isEqualNode($x2));
}
}
?>
--EXPECT--
Comparing with
bool(true)
Comparing with
bool(true)
Comparing with
bool(false)
Comparing with
bool(true)
Comparing with
bool(true)
Comparing with
bool(false)
Comparing with
bool(false)
Comparing with
bool(false)
Comparing with
bool(true)