News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Eirik Hoem's Blog:
Array problems with SOAP and PHP - Updated
March 13, 2008 @ 10:22:19

Eirik Hoem has posted an update on a previous problem he was having when working with SOAP in PHP and its handling of arrays.

The scenario was that when an array with only one object was returned over SOAP the array was discarded and pointed straight to the single object.

Come to find out, this behavior wasn't a bug, it was a feature - the fix is to add another parameter to the initialization of the SoapClient to add the SOAP_SINGLE_ELEMENT_ARRAYS feature.

0 comments voice your opinion now!
soap gotcha array problem soapsingleelementarrays feature bug


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Framework 1.6 Release Candidate 1 now available!

TechEnclave.com: First take on phpBB Olympus

Ruslan Yakushev's Blog: WinCache Extension 1.1 for PHP Release to Web

Maggie Nelson's Blog: PDO_OCI does not support CLOBs

Query7.com: Why You Should Be Using A PHP Framework


Community Events





Don't see your event here?
Let us know!


podcast language code api opinion release developer list refactor interview install introduction series threedevsandamaybe framework community wordpress laravel testing unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework