|
Posted by Rik on 07/25/07 12:08
On Wed, 25 Jul 2007 14:05:12 +0200, Sergei Riaguzov <hello@world.com> =
wrote:
> On Wed, 25 Jul 2007 05:00:43 -0700, Sjoerd wrote:
>
>>> I have a function returning smth like list($a,$b):
>>> var_dump says:
>>> list(string $a, string $b) blabla()
>> This doesn't make sense. I cannot imagine that var_dump() outputs thi=
s.
> This function is generated by SoapClient from WSDL, so I can't change =
it.
>
>> function blabla() {
>> // note: use array() to construct an array, not list() return
>> array("some", "thing");
>> }
>>
>> list($one, $two) =3D blabla();
> I tried applying array(blabla())
Huh?
> but it won't work either. I can only
> iterate the result with foreach...
if it is an array, and you cannout use list(), the array may not be =
numerically indexed.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|