Skip to content

Commit b418d19

Browse files
committed
[ci skip] Make test more robust
1 parent fff206b commit b418d19

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/xml/tests/gh14637.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ $long_xml_head = "<?xml version=\"1.0\"?><container><$long_text/><$long_text/><s
2222
$long_xml_tail = "</container>";
2323
$parser = createParser(false);
2424
$ret = xml_parse($parser, $long_xml_head, true);
25-
echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
2625
$parser = createParser(true);
2726
$ret = xml_parse($parser, $long_xml_head, false);
2827
$parser = createParser(true);
2928
$ret = xml_parse_into_struct($parser, $long_xml_head . $long_xml_tail, $values, $index);
3029
?>
3130
--EXPECTF--
32-
ret = 0 (XML_ERR_NAME_REQUIRED)
33-
3431
Fatal error: Allowed memory size of %d bytes exhausted %s in %s on line %d

0 commit comments

Comments
 (0)