Bug #71597 [Com]: PHP7 regression: Crash when WSDL contains a union
| From: | cf0hay at gmail dot com | Date: | Mon, 15 Feb 2016 12:49:06 +0000 |
| Subject: | Bug #71597 [Com]: PHP7 regression: Crash when WSDL contains a union | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199228@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71597&edit=1
ID: 71597
Comment by: cf0hay at gmail dot com
Reported by: cf0hay at gmail dot com
Summary: PHP7 regression: Crash when WSDL contains a union
Status: Open
Type: Bug
Package: SOAP related
Operating System: 64bit Linux
PHP Version: 7.0.3
Block user comment: N
Private report: N
New Comment:
test.wsdl:
http://pastebin.com/raw/UkVXZe38
Previous Comments:
------------------------------------------------------------------------
[2016-02-15 12:44:23] cf0hay at gmail dot com
Description:
------------
PHP 7.0.3 crashes when making a soap request with a union simpleType. PHP 5.6 doesn't have this
problem.
Test script:
---------------
#!/usr/bin/php
<?php
$soap = new SoapClient("test.wsdl", ['trace' => true]);
try{
$resp = $soap->notify([
'resourceId' => '',
]);
}catch(SoapFault $e){
echo $e->getMessage()."\n";
}
Expected result:
----------------
Could not connect to host
Actual result:
--------------
Segmentation Fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71597&edit=1