The PHP code uses a switch case statement to check the value of the $user variable and echo the corresponding name. If the name doesn't match any case, it will echo a default message. A second code sample uses a switch case to check the value of $x and echo the corresponding number, or a default message if no case matches.
2. 犢犖犖犖劇犖犖犖÷厳犖犖犖迦牽犖犖犖犢犖犖犢犖犖犢犖犖犖 犢犖犢犖犢犖犢犢犖犢犖 2 犖ム険犖犖犖犖萎犖園犖犖朽
1. 犖犖迦犖犖犖∇顕犖 犢犖犢犖犖犖迦牽犢犖犖朽権犖犢犖犢犖迦犖犖犖犖犖迦牽犖犖犖犖∇顕犖∇犖犢犖犖犖迦県犖迦犖朽犖÷犖伍県犖∇犢犖犢
犖犖劇犖犖犖迦牽犢犖犖劇犖犢犖犢犖犖犖迦犖犖園犖犖犖犖犖犖迦牽犖犖迦犖迦犖犖犖犢犖犖犢犖犖犖÷犖犢犖ム鍵犖犖園犖犖犖犖
犖犖迦犖犖犖園犖犖犖迦犢犖犢犖犖迦肩犖園犖犖犖犖犖犖迦県犖迦犖朽犢犖犢犢犖犖朽権犖犢犖犖犢犖犖犖
2. 犖犖園犖ム険犖犖犖犢 犖犖劇賢犢犖犖犖劇犖犖犖犖÷顕犖∇牽犖項犢犖犖犖犢犖迦 犢 犖犖謹犖犢犖犢犖犖迦見犖犖園犖犖劇犖犖犖о顕犖÷見犖÷顕犖∇犖犢
犢犖犢犖迦犖犖犖犖犖犖園 犖犖犖犖巌犖犢犖犖犖 犖犖犖迦犖園犖÷顕犖犖犖犖迦犢犖犢犖犖犖迦犖巌賢犢犖÷牽犖巌犖園 ( The
American National Standard Institute , ANSI) 犖犖謹犖犢犖犢犖犖迦見犖犖
犖犖園犖ム険犖犖犖犢犢犖犢犖犖÷顕犖犖犖犖迦犢犖о
3. 犖犖園犖ム険犖犖犖犢 ( Symbol )
犢犖犖犖劇犖犖犖犖÷顕犖∇牽犖項犢犖犖犖犢犖迦犢犢犖犢犖犖迦見犖犖園犖犖劇犖犖犖о顕犖÷見犖÷顕犖∇犖犢
犢犖犢犖迦犖犖犖犖犖犖園犖犖犖犖巌犖犢犖犖犖犖犖犖迦犖園犖÷顕犖犖犖犖迦犢犖犢犖犖犖迦犖
犖犢犖÷牽犖巌犖園The American National Standard Institute
(ANSI) 犖犖迦見犖犖犖犖園犖ム険犖犖犖犢犢犖犢犖犖÷顕犖犖犖犖迦犢犖о 犖犖園犖犖園硯犖犖∇犖迦