function some($foo, $bar)
{
if ($foo != $bar)
return ;
...
}
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Karl J. Stubsjoen"" <[EMAIL PROTECTED]> wrote in message
004701c08bd5$eecbc340$0afc020a@kstubsjoen">news:004701c08bd5$eecbc340$0afc020a@kstubsjoen...
> What is the way to exit a function? For example:
>
> function FooBar() {
>
> if ($foo = $bar)
> Exit_this_Function;
>
> ## otherwise execute the rest of this function
> }
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]