mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
[ci skip] Make test more robust
This commit is contained in:
parent
fff206ba1e
commit
b418d19c42
1 changed files with 0 additions and 3 deletions
|
@ -22,13 +22,10 @@ $long_xml_head = "<?xml version=\"1.0\"?><container><$long_text/><$long_text/><s
|
|||
$long_xml_tail = "</container>";
|
||||
$parser = createParser(false);
|
||||
$ret = xml_parse($parser, $long_xml_head, true);
|
||||
echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
|
||||
$parser = createParser(true);
|
||||
$ret = xml_parse($parser, $long_xml_head, false);
|
||||
$parser = createParser(true);
|
||||
$ret = xml_parse_into_struct($parser, $long_xml_head . $long_xml_tail, $values, $index);
|
||||
?>
|
||||
--EXPECTF--
|
||||
ret = 0 (XML_ERR_NAME_REQUIRED)
|
||||
|
||||
Fatal error: Allowed memory size of %d bytes exhausted %s in %s on line %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue