Bug #80895 [Opn->Dup]: Unexpected XML due to memory optimization in SOAP

From: Date: Wed, 18 Aug 2021 11:16:03 +0000
Subject: Bug #80895 [Opn->Dup]: Unexpected XML due to memory optimization in SOAP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235935@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80895&edit=1

 ID:                 80895
 Updated by:         cmb@php.net
 Reported by:        vasilevrvv at gmail dot com
 Summary:             Unexpected XML due to memory optimization in SOAP
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            SOAP related
 Operating System:   Linux
 PHP Version:        8.0.3
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

> We are faced with the problem that the server does not support
> these refs,

Ah, so this is a duplicate of bug #42652.


Previous Comments:
------------------------------------------------------------------------
[2021-03-24 16:29:31] vasilevrvv at gmail dot com

Maybe it would be enough to do it as not required option

------------------------------------------------------------------------
[2021-03-24 16:20:09] vasilevrvv at gmail dot com

We are faced with the problem that the server does not support these refs, and there is no way to
disable them, except for copying arrays.

I believe that this is not correct, that my code depends on the logic of the zval.

Yes, thank you

------------------------------------------------------------------------
[2021-03-24 16:14:01] cmb@php.net

> Maybe it's better to change this logic?

Maybe, but I'm not sure.  I don't see a problem when both client
and server are implemented in PHP, but perhaps there are issues if
the server is implemented in, for instance, Java.  I'll leave that
for some SOAP expert to decide.

------------------------------------------------------------------------
[2021-03-24 14:38:38] vasilevrvv at gmail dot com

Oh, not an object, an array, I'm sorry.

------------------------------------------------------------------------
[2021-03-24 14:33:03] vasilevrvv at gmail dot com

I think this is not obvious behavior. To avoid references - I have to clone the object in the code.
Maybe it's better to change this logic?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=80895


--
Edit this bug report at https://bugs.php.net/bug.php?id=80895&edit=1


Thread (13 messages)

« previous php.bugs (#235935) next »