Re: [PHP] returns (functions)

2001-09-05 Thread Rasmus Lerdorf
> I have a foreach loop running in a function. During the foreach loop, if a > variable matches another variable, it does "return $variable". My question > is this: does the function automatically stop running when the variable is > returned? Yes -- PHP General Mailing List (http://www.php.net

Re: [PHP] returns (functions)

2001-09-05 Thread Alexander Deruwe
On Wednesday 05 September 2001 17:17, Joseph Bannon wrote: > I have a foreach loop running in a function. During the foreach loop, if a > variable matches another variable, it does "return $variable". My question > is this: does the function automatically stop running when the variable is > return