xref: /PHP-7.3/ext/xml/tests/bug72099.phpt (revision b746e698)
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--EXPECT--
16array(0) {
17}
18