xref: /PHP-8.1/ext/soap/tests/bugs/bug77945.phpt (revision 7f2f0c00)
1--TEST--
2Bug #77945: Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7
8// The important part is to have a restriction enumeration with value="".
9$client = new SoapClient(__DIR__ . '/bug29236.wsdl', [
10    'cache_wsdl' => WSDL_CACHE_BOTH
11]);
12
13?>
14===DONE===
15--EXPECT--
16===DONE===
17