#47996 [NEW]: new SOAPVar('false', XSD_BOOLEAN) comes out 'true'
| From: | piperj01 at u dot washington dot edu | Date: | Thu, 16 Apr 2009 22:39:49 +0000 |
| Subject: | #47996 [NEW]: new SOAPVar('false', XSD_BOOLEAN) comes out 'true' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135903@lists.php.net to get a copy of this message | ||
From: piperj01 at u dot washington dot edu
Operating system: Windows XP
PHP version: 5.2.9
PHP Bug Type: SOAP related
Bug description: new SOAPVar('false', XSD_BOOLEAN) comes out 'true'
Description:
------------
Trying to pass a Boolean value as a parameter when invoking a webservices
via SOAP. But when using calls like:
new SOAPVar('false', XSD_BOOLEAN, null, null, null, $ns)
The resulting XML shows 'true' not 'false'.
Looks like it is related to bug 33602. I suspect something to do with
soap.c function serialize_function_call() around line 4298. The code there
appears to do work related to the 'true' case, but not the 'false' case.
--
Edit bug report at http://bugs.php.net/?id=47996&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47996&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47996&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47996&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47996&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47996&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47996&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47996&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47996&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47996&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47996&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47996&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47996&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47996&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47996&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47996&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47996&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47996&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47996&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47996&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47996&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47996&r=mysqlcfg