Really quick question.  Will "return" break a loop inside a function?

Example..
myfunc()
{
    while($val=0)
    {
        if ($i=128)
        {
            return true;  //<-break or no?
        }
    }
}

I know I could easily figure this out my own but I do not have the means to
test it right now.  :)

Much thanks!
Kevin


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

Reply via email to