Req #24047 [Fbk->NoF]: xmlrpc_decode() does not decode NULL values in SOAP 1.1
Edit report at https://bugs.php.net/bug.php?id=24047&edit=1
ID: 24047
Updated by: php-bugs@lists.php.net
Reported by: novicky at aarongroup dot cz
Summary: xmlrpc_decode() does not decode NULL values in SOAP
1.1
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: *General Issues
Operating System: Any
PHP Version: *
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2014-04-16 18:30:36] levim@php.net
Anyone know if this has changed in the last decade?
------------------------------------------------------------------------
[2003-06-05 12:15:05] novicky at aarongroup dot cz
The function xmlrpc_decode() does not decode properly NULL values in SOAP 1.1 at the first level.
The following example
var_dump(xmlrpc_decode(xmlrpc_encode_request('method', array(array(NULL)),
array('version'=>'soap 1.1'))));
will produce
array(1) {
[0]=>
array(1) {
[0]=>
NULL
}
}
which is correct, but when NULL value is used at the first level of array like in the following
example, the answer is incorrect
var_dump(xmlrpc_decode(xmlrpc_encode_request('method', array(NULL),
array('version'=>'soap 1.1'))));
will produce
array(1) {
["xsi:null"]=>
string(0) ""
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=24047&edit=1
Thread (3 messages)