The function parse_users
returns an array.
I am doing the following in another function:
return reset($this->parse_users($records));
But I get a Strict Standards: Only variables should be passed by reference in...
Is it because I do a reset()
on the function?
Do I have to do it this way:
$users = $this->parse_users($records);
return reset($users);
Or is something else?