#38536 [Opn]: Returning an array of values instead of an object
| From: | sabrina at corp dot grupos dot com dot br | Date: | Mon, 21 Aug 2006 14:02:14 +0000 |
| Subject: | #38536 [Opn]: Returning an array of values instead of an object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101068@lists.php.net to get a copy of this message | ||
ID: 38536
User updated by: sabrina at corp dot grupos dot com dot br
Reported By: sabrina at corp dot grupos dot com dot br
Status: Open
Bug Type: SOAP related
Operating System: FreeBSD 6.1
PHP Version: 5.1.5
New Comment:
Results of the tests and object dumps are here:
http://intranet.grupos.com.br/~sabrina/phpbug
Previous Comments:
------------------------------------------------------------------------
[2006-08-21 13:59:59] sabrina at corp dot grupos dot com dot br
Description:
------------
The return soap message should be an array of objects.
Instead, it is returning an array of arrays.
Each item should be an object, but it is an array.
For each item in the array, a value is popped out, such as only the
last item in the array has one value and is an object, as it should
be.
When using version 5.1.4 is working.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38536&edit=1