Re: [phpxmlrpc] $xmlrpcBoolean in xmlrpc_encode helper funct

2001-07-25 Thread giancarlo pinerolo

Excuse me for providing these one at a time, but I stubleded in that
first error when I was looking for another one in rality, which now I
discovered, which didn't create an xmlrpcvalue for unknown types and
though the new PHP4 'NULL' type

At the end of the xmlrpc_encode helper functions, around line 967 

  case "unknown type":
  default:
### $xmlrpc_val = false; # it has to be returned 
###  # an empty object in case (which is
already
###  # at this point), not a boolean
 break;
   }
   return $xmlrpc_val;
}  
..


Giancarlo


Edd Dumbill wrote:
> 
> Thanks.  I've patched my source, and will incorporate this in a point
> release of the stable distribution.
> 
> I'm also considering doing an unstable branch so I can include some
> experimental support for things contributed by others, e.g. SSL support
> via curl.
> 
> On 25 Jul 2001 12:37:40 +0200, giancarlo pinerolo wrote:
> >
> > importing
> > global value for boolean was forgotten in the
> > function xmlrpc_encode($php_val) {
> >global $xmlrpcInt;
> >global $xmlrpcDouble;
> >global $xmlrpcString;
> >global $xmlrpcArray;
> >global $xmlrpcStruct;
> >global $xmlrpcBoolean;  ## was missing
> >
> > patch:
> >
> > 1093d1092
> >  >
> > so the addet ttest on value fails
> >
> >
> > Giancarlo
> >
> > --
> > For information about how to subscribe and unsubscribe from this list
> > visit http://xmlrpc.usefulinc.com/list.html
> >
> 
> --
> For information about how to subscribe and unsubscribe from this list
> visit http://xmlrpc.usefulinc.com/list.html

--
For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html



Re: [phpxmlrpc] $xmlrpcBoolean in xmlrpc_encode helper funct

2001-07-25 Thread Edd Dumbill

Thanks.  I've patched my source, and will incorporate this in a point
release of the stable distribution.

I'm also considering doing an unstable branch so I can include some
experimental support for things contributed by others, e.g. SSL support
via curl.

On 25 Jul 2001 12:37:40 +0200, giancarlo pinerolo wrote:
> 
> importing 
> global value for boolean was forgotten in the 
> function xmlrpc_encode($php_val) {
>global $xmlrpcInt;
>global $xmlrpcDouble;
>global $xmlrpcString;
>global $xmlrpcArray;
>global $xmlrpcStruct;
>global $xmlrpcBoolean;  ## was missing
> 
> patch:
> 
> 1093d1092
>  
> so the addet ttest on value fails
> 
> 
> Giancarlo
> 
> --
> For information about how to subscribe and unsubscribe from this list
> visit http://xmlrpc.usefulinc.com/list.html
> 



--
For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html



[phpxmlrpc] $xmlrpcBoolean in xmlrpc_encode helper funct

2001-07-25 Thread giancarlo pinerolo

importing 
global value for boolean was forgotten in the 
function xmlrpc_encode($php_val) {
   global $xmlrpcInt;
   global $xmlrpcDouble;
   global $xmlrpcString;
   global $xmlrpcArray;
   global $xmlrpcStruct;
   global $xmlrpcBoolean;  ## was missing

patch:

1093d1092