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