Re: [SOAP] Expand Boolean from '1' to 'true' in PHP 5 SOAP?
| From: | Gilbert Wilson | Date: | Fri, 24 Mar 2006 15:16:48 +0000 |
| Subject: | Re: [SOAP] Expand Boolean from '1' to 'true' in PHP 5 SOAP? | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2172@lists.php.net to get a copy of this message | ||
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