Disclaimer : the following is a bad practice (but it would be useful in a very, very specific use)
Is there a way to shorten (in a not-so-nice-way-but-shorter) if statements : instead of :
if(5 == $foo){
$b = 98;
$c = 98 * $otherVariable;
//do something complex
doSomethingElse($b, $c);
}
This example would become shorter, even if it is formatted by an IDE. It would become something like that (but this does not work):
(5 == $foo) && { $b = 98;
$c = 98 * $otherVariable;
//do something complex
doSomethingElse($b, $c);}