if ($value = complicated == condition) { do something with the same $value }