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

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

 



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.

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!

-- 
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

-- 
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