View Single Post
04-18-2009, 04:42 PM
Join Date: Sep 2007
Originally Posted by
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
The Following User Says Thank You to Kalle For This Useful Post:
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle