If 1 IF fails, do the rest anyway...
| From: | Liam Gibbs | Date: | Thu, 13 Mar 2003 21:13:15 +0000 |
| Subject: | If 1 IF fails, do the rest anyway... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139597@lists.php.net to get a copy of this message | ||
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?