04-18-2009, 04:42 PM
|
#18 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by allworknoplay
Ahh I see now.
Thanks again Kalle/Tanax...
Since the return is "true".
Then it just returns the number that you are checking right?
so say 5 is a good number, then you get 5 back?
Since PHP is loosely typed, do you have to do "return false" if the number doesn't check out?
It sounds like good practice to do that anyways, but just wondering.
|
No thats just because the method is meant for an expression, and true/false are both booleans
__________________
|
|
|