Skip to content

Commit 655f116

Browse files
committed
XLEAK XML_SAVE_NO_DECL test for old libxml2 versions
1 parent ae66a0d commit 655f116

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/dom/tests/DOMDocument_saveXML_XML_SAVE_NO_DECL.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
DOMDocument::saveXML(): XML_SAVE_NO_DECL
33
--EXTENSIONS--
44
dom
5+
--SKIPIF--
6+
<?php
7+
if (getenv('SKIP_ASAN') && LIBXML_VERSION < 20911) die('xleak leaks under libxml2 versions older than 2.9.11');
8+
?>
59
--FILE--
610
<?php
711
$doc = new DOMDocument();

0 commit comments

Comments
 (0)