* Thus wrote Carl Furst ([EMAIL PROTECTED]):
> Ok lets see I have the following two functions one calls the other
> 
> Function a (&$myref) {
> 
> ..something... then calls function b
> 
> b($myref);
> 
> }
> 
> function b (&$myref) { 
> 
> something
> 
> }
> 
> a($myref);
> 
> is the reference by passing in function b legal???

Yes, and the $myref in the main context can be modified by the b()
function.


HTH,

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to