IfSelect ($b == true) { $s = "Вася" . " " . "Пупкин"; }switch ($b){ case true: message('1'); case false: $c = 2 + cos(3.5)}