|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #38428 xmlrpc_get_type(null) returns 'base64'
Submitted: 2006-08-11 13:13 UTC Modified: 2021-04-13 13:53 UTC
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: giunta dot gaetano at sea-aeroportimilano dot it Assigned: cmb (profile)
Status: Wont fix Package: XMLRPC-EPI related
PHP Version: 5.1.4 OS: windows 2000
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-08-11 13:13 UTC] giunta dot gaetano at sea-aeroportimilano dot it
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:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:24 UTC]
-Package: Feature/Change Request +Package: XMLRPC-EPI related
 [2021-04-13 13:53 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-04-13 13:53 UTC]
The xmlrpc extension is unbundled and moved to PECL as of PHP
7.4.0.  I'm temporarily maintaining the extension, but I will not
do any feature additions.  Actually, everybody is likely better
off to switch to something else.  Thus, I'm closing this ticket.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 08 17:02:33 2021 UTC