1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/ext/soap/tests/bugs/bug77945.phpt
T
Nikita Popov 5da0579259 Fixed bug #77945
Make sure that we proper distinguish between empty string key and
no key during SDL serialization.
2019-04-29 13:52:18 +02:00

19 lines
405 B
PHP

--TEST--
Bug #77945: Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH
--SKIPIF--
<?php
if (!extension_loaded('soap')) die('skip soap extension not available');
?>
--FILE--
<?php
// The important part is to have a restriction enumeration with value="".
$client = new SoapClient(__DIR__ . '/bug29236.wsdl', [
'cache_wsdl' => WSDL_CACHE_BOTH
]);
?>
===DONE===
--EXPECT--
===DONE===