Is it possible to have ...
function foo ($string_name, &$offset)
{
$offset += 10;
return $some_string;
}
$offset = 0;
$new_string = foo ($old_string, $offset);
... where i get a new string returned by functioon return, and an integer returned by reference?