xref: /PHP-7.1/ext/xml/tests/bug65236.phpt (revision 710eee55)
1--TEST--
2Bug #65236 (heap corruption in xml parser)
3--SKIPIF--
4<?php
5require_once("skipif.inc");
6?>
7--FILE--
8<?php
9xml_parse_into_struct(xml_parser_create_ns(), str_repeat("<blah>", 1000), $a);
10
11echo "Done\n";
12?>
13--EXPECTF--
14Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
15Done
16