Req #38428 [Opn->Wfx]: xmlrpc_get_type(null) returns 'base64'

From: Date: Tue, 13 Apr 2021 13:53:19 +0000
Subject: Req #38428 [Opn->Wfx]: xmlrpc_get_type(null) returns 'base64'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233392@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=38428&edit=1 ID: 38428 Updated by: cmb@php.net Reported by: giunta dot gaetano at sea-aeroportimilano dot it Summary: xmlrpc_get_type(null) returns 'base64' -Status: Open +Status: Wont fix Type: Feature/Change Request Package: XMLRPC-EPI related Operating System: windows 2000 PHP Version: 5.1.4 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2006-08-11 13:13:03] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=38428&edit=1

« previous php.bugs (#233392) next »