It\'s something that\'s bugged me in every language I\'ve used, I have an if statement but the conditional part has so many checks that I have to split it over multiple lines, u
In reflective languages like PHP, you can use variable-variables:
$vars = array('var1', 'var2', ... etc.); foreach ($vars as $v) if ($$v == true) { // do something break; }