Bug #71711 [Opn->Csd]: Soap Server Member variables reference bug

From: Date: Tue, 30 Aug 2016 16:08:02 +0000
Subject: Bug #71711 [Opn->Csd]: Soap Server Member variables reference bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203689@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71711&edit=1 ID: 71711 Updated by: nikic@php.net Reported by: xxx at sebastianviereck dot de Summary: Soap Server Member variables reference bug -Status: Open +Status: Closed Type: Bug Package: SOAP related Operating System: Ubuntu 14.4 PHP Version: 7.0.4 Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikic Revision: http://git.php.net/?p=php-src.git;a=commit;h=3317287ce125a33eb9d35501e59ad8330215f100 Log: Fix bug #71711 Previous Comments: ------------------------------------------------------------------------ [2016-03-30 08:09:44] xxx at sebastianviereck dot de do not show my email address ------------------------------------------------------------------------ [2016-03-04 09:23:07] xxx at sebastianviereck dot de Description: ------------ The Soap Server handling responses with references in class member variables and crashes with an Exception. Test script: --------------- http://www.sebastianviereck.de/en/php7-soap-server-bug-ticket/ Expected result: ---------------- if you execute the soap client, you get an error: Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SOAP-ERROR: Encoding: Cannot find encoding in client.php on line 24 ( ! ) SoapFault: SOAP-ERROR: Encoding: Cannot find encoding in client.php on line 24 Actual result: -------------- Result in PHP5.3 is stdClass Object ( [posts] => Array ( [0] => Array ( [title] => Demo Post 1 [body] => Demo content 1 ) [1] => Array ( [title] => Demo Post 2 [body] => Demo content 2 ) [2] => Array ( [title] => Demo Post 3 [body] => Demo content 3 ) [3] => Array ( [title] => Demo Post 4 [body] => Demo content 4 ) ) ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71711&edit=1

« previous php.bugs (#203689) next »