https://www.codingfactory.net/10115
switch ( $var ) { case value1: statement1; break; case value2: statement2; break; ... default: statement3; }