php.net |  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: 2011-02-21 21:24 UTC
Votes:1
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:
Status: Open 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
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:24 UTC] jani@php.net
-Package: Feature/Change Request +Package: XMLRPC-EPI related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 08:01:26 2019 UTC