really quik answer...
really long answer...
from php manual:
"the return() statement immediately ends execution of the current function,
and returns its argument as the value of the function call."
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Will return break loop?
Really quick question. Will "return" break a loop inside a function?
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. :)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php