Why the do block instead of a comma?if( do{$o->check(...); ! $o->state} ){ action.. }
...not that I think that putting multiple things inside the conditional of an if is a good idea.if($o->check(...), ! $o->state} ){ action.. }
In reply to Re^2: deep usage of if-else!!
by Anonymous Monk
in thread deep usage of if-else!!
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |