> 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
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
2 matches
Mail list logo