if ($a->is_xxx_yyy && $b < PPP_QQQ) { ... } #### if (xxx_yyy_ppp_qqq($a,$b))