Re: returns (functions)
| From: | Alexander Deruwe | Date: | Wed, 05 Sep 2001 19:29:46 +0000 |
| Subject: | Re: returns (functions) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66069@lists.php.net to get a copy of this message | ||
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
> returned?
Yes.
ad