if/esle formatting for short and full syntax howto (settings)
How to keep ‘else’ on the same string as brackets, but add the new line in short form with the autoformatting?

Code to check:
if ($i > $j || $j >= $arg_b - $i)
$out .= '_';
else
$out .= '*';
if ($i > $j || $j >= $arg_b - $i) {
$out .= '_';
} else {
$out .= '*';
}
Please sign in to leave a comment.