Reply to Re: PHP5 and arrays of complextype

Your name:

Reply:


Posted by Steve on 01/11/07 18:18

"Gerry Vandermaesen" <gerry.vandermaesen@gmail.com> wrote in message
news:1168509369.708206.125320@i56g2000hsf.googlegroups.com...
| Hi,
|
| I am currently having the exact same problem as described here:
|
| http://bugs.php.net/bug.php?id=36226
|
| The webservice is configured to return 0-* objects of a complextype,
| but when only one single item is returned, it does not get deserialized
| as an array as I would expect, but as a single object.
|
| The new feature proposed on the bottom of the above page does not seem
| to be included in our installed version of PHP 5.1.2-1.
|
| Is there any other way to change this behaviour.
|
| Kind regards.

$complexType = yourCallToWebService;
if (!is_array($complexType)){ $complexType = array($complexType); }

perhaps? haven't played with that too much.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация