xref: /PHP-8.0/ext/xml/tests/bug72099.phpt (revision 7aacc705)
1--TEST--
2Bug #72099: xml_parse_into_struct segmentation fault
3--SKIPIF--
4<?php
5require_once("skipif.inc");
6?>
7--FILE--
8<?php
9$var1=xml_parser_create_ns();
10$var2=str_repeat("a", 10);
11$var3=[];
12$var4=[];
13xml_parse_into_struct($var1, $var2, $var3, $var4);
14var_dump($var3);
15?>
16--EXPECT--
17array(0) {
18}
19