Test: /ext/soap/tests/bugs/bug73237.phpt - Version 7.0.13-dev        

Bug #73237 Nested object in "any" element overwrites other fields
Submitted: 2016-10-03 21:48:38 Modified: 2016-10-03 22:12:53
From: ksmiley Assigned:
Status: Closed Package: SOAP related
PHP Version: 7.0.11 OS: Any

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '/home/travis/build/php/php-src/ext/soap/tests/bugs/bugXYZ.wsdl' : failed to load external entity "/home/travis/build/php/php-src/ext/soap/tests/bugs/bugXYZ.wsdl"
002+ in %s/bug73237.php:9
003+ Stack trace:
004+ #0 %s/bug73237.php(9): SoapClient->SoapClient('/home/travis/bu...')
005+ #1 {main}
006+ thrown in %s/bug73237.php on line 9
001- object(stdClass)#2 (1) {
002- ["result"]=>
003- object(stdClass)#3 (4) {
004- ["done"]=>
005- string(4) "true"
006- ["queryLocator"]=>
007- NULL
008- ["records"]=>
009- object(SoapVar)#6 (4) {
010- ["enc_type"]=>
011- int(0)
012- ["enc_value"]=>
013- object(stdClass)#4 (3) {
014- ["type"]=>
015- string(14) "CampaignMember"
016- ["Id"]=>
017- array(2) {
018- [0]=>
019- string(18) "00vi0000011VMgeAAG"
020- [1]=>
021- string(18) "00vi0000011VMgeAAG"
022- }
023- ["any"]=>
024- array(2) {
025- [0]=>
026- string(175) "<sf:CampaignId>701i0000001lreeAAA</sf:CampaignId><sf:Status>Sent</sf:Status><sf:ContactId xsi:nil="true"/><sf:LeadId>00Qi000001UrbYFEAZ</sf:LeadId><sf:Contact xsi:nil="true"/>"
027- ["Lead"]=>
028- object(stdClass)#5 (3) {
029- ["type"]=>
030- string(4) "Lead"
031- ["Id"]=>
032- NULL
033- ["any"]=>
034- string(44) "<sf:Email>angela.lansbury@cbs.com</sf:Email>"
035- }
036- }
037- }
038- ["enc_stype"]=>
039- string(13) "genericObject"
040- ["enc_ns"]=>
041- string(27) "urn:object.test.example.org"
042- }
043- ["size"]=>
044- string(1) "1"
045- }
046- }
1 (33%)
047+ [Mon Oct 3 22:41:37 2016] Script: %s/bug73237.php'
048+ /home/travis/build/php/php-src/Zend/zend_objects.c(162) : Freeing 0x7F49650784B0 (40 bytes), %s/bug73237.php
049+ === Total 1 memory leaks detected ===