From: novicky at aarongroup dot cz Operating system: any PHP version: 4.3.2 PHP Bug Type: XMLRPC-EPI related Bug description: xmlrpc_decode() does not decode NULL values in SOAP 1.1
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 bug report at http://bugs.php.net/?id=24047&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24047&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24047&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24047&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24047&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24047&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24047&r=support Expected behavior: http://bugs.php.net/fix.php?id=24047&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24047&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24047&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24047&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24047&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24047&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24047&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24047&r=gnused