I want to return an array from a function.
I have this:
return array($found, $username, $email, $nickname);
as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this:

array($vars);
   $vars = function($type, $abc, $xyz);
   $found = $vars[0];
   $username = $vars[1];
   $email = $vars[2];
   $nickname = $vars[3];

on the other end work? If so, then the bug is somewhere else.

Thanks in advance,
Tom

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to