On Mon, 5 Feb 2001, Thomas Wentzel wrote:

> Hi all,
> 
> I've been using array_init and add_assoc_xxx to return an array from
> within my PHP module... But how would I go about returning the following
> stucture

$a = array(1,2,3,4);
$b = arrar("foo"=>1,"bar"=>2);

return $a;

would work, as well as 

return $b;



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to