#38428 [Opn]: xmlrpc_get_type(null) returns 'base64'

From: Date: Fri, 11 Aug 2006 13:38:42 +0000
Subject: #38428 [Opn]: xmlrpc_get_type(null) returns 'base64'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100702@lists.php.net to get a copy of this message
ID: 38428 Updated by: tony2001@php.net Reported By: giunta dot gaetano at sea-aeroportimilano dot it Status: Open -Bug Type: XMLRPC-EPI related +Bug Type: Feature/Change Request Operating System: windows 2000 PHP Version: 5.1.4 New Comment: Expected behaviour. Reclassified as feature request. 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 http://bugs.php.net/?id=38428&edit=1

« previous php.bugs (#100702) next »