php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71711 Soap Server Member variables reference bug
Submitted: 2016-03-04 09:23 UTC Modified: 2016-03-30 08:09 UTC
Votes:8
Avg. Score:4.5 ± 0.7
Reproduced:8 of 8 (100.0%)
Same Version:7 (87.5%)
Same OS:5 (62.5%)
From: xxx at sebastianviereck dot de Assigned:
Status: Closed Package: SOAP related
PHP Version: 7.0.4 OS: Ubuntu 14.4
Private report: No CVE-ID: None
 [2016-03-04 09:23 UTC] 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
                )

        )

)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-30 08:09 UTC] xxx at sebastianviereck dot de
-: info at sebastianviereck dot de +: xxx at sebastianviereck dot de
 [2016-03-30 08:09 UTC] xxx at sebastianviereck dot de
do not show my email address
 [2016-08-30 16:08 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3317287ce125a33eb9d35501e59ad8330215f100
Log: Fix bug #71711
 [2016-08-30 16:08 UTC] nikic@php.net
-Status: Open +Status: Closed
 [2016-10-17 10:08 UTC] bwoebi@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3317287ce125a33eb9d35501e59ad8330215f100
Log: Fix bug #71711
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC