#38428 [NEW]: xmlrpc_get_type(null) returns 'base64'
| From: | giunta dot gaetano at sea-aeroportimilano dot it | Date: | Fri, 11 Aug 2006 13:13:03 +0000 |
| Subject: | #38428 [NEW]: xmlrpc_get_type(null) returns 'base64' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100700@lists.php.net to get a copy of this message | ||
From: giunta dot gaetano at sea-aeroportimilano dot it
Operating system: windows 2000
PHP version: 5.1.4
PHP Bug Type: XMLRPC-EPI related
Bug description: xmlrpc_get_type(null) returns 'base64'
Description:
------------
when using xmlrpc_encode(), NULL php values are converted into empty
xmlrpc string values, which is a pretty sensible decision.
Unfortunately, when using xmlrpc_get_type() to see what type they will be
converted into, 'base64' is returned, which is not very coherent.
Reproduce code:
---------------
var_dump(xmlrpc_get_type(null));
Expected result:
----------------
string
Actual result:
--------------
base64
--
Edit bug report at http://bugs.php.net/?id=38428&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38428&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38428&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38428&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38428&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38428&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38428&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38428&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38428&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38428&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38428&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38428&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38428&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38428&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38428&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38428&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38428&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38428&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38428&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38428&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38428&r=mysqlcfg