Re: Expand Boolean from '1' to 'true' in PHP 5 SOAP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/23/06 5:51 PM, in article pan.2006.03.23.22.51.06.986836@miras.org,
"Michael Rasmussen" <mir@miras.org> wrote:

> On Thu, 23 Mar 2006 22:59:13 +0100, David Kingma | jool.nl wrote:
> 
>> 
>> Which version of PHP are you using? In older PHP (<= 5.0.4) it was 1's and
>> 0's, now its 'true' or 'false'.
>> 
> In PHP 5.1 all values of 1 are converted to true and all values of 0 are
> converted to false.

Is there a work around?

> 
> I discovered one thing, which I would stipulate as a bug. All values which
> are not 1 (one) are converted to false. E.g. -n..0 && 2..n. Is that not a
> bug? I mean, you have no way of making any kind of error check!

That's bizarre.  Have you reported this  What was the reply?

Gil

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux