|
Posted by Sergei Riaguzov on 07/25/07 12:05
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 this.
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) = blabla();
I tried applying array(blabla()) but it won't work either. I can only
iterate the result with foreach...
Navigation:
[Reply to this message]
|