$num=2; switch($num) { case1 : $word="One"; //break; case1 : $word="Two"; //break; case1 : $word="Three"; //break; case1 : $word="Four"; //break; case1 : $word="Five"; //break; case1 : $word="Nothing"; //break; } echo "$num is $word"; ?>