I know that in a case like this
if((test1) && (test2) && (test3)) { ... }
if test1 fails, dear PHP won't bother doing test2 and 3. Am I correct? Is there a syntax that will make it carry on with test2 and 3 anyway, regardless of how test1 came out?
The more efficient compilers/parsers stop when one test fails, some do them all. I don't know which php does but surely it is irrelevant? If test1 fails, because of the "and" the "if" statement will not be executed. I wonder what the reason is for your wanting it to do test2 and test3, maybe I'm missing something?
HTH Chris
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php