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