<?php $i=0; switch($i) { case 0: print "1는 0과 같다."; break; case 1: print "1는 1과 같다."; break; case 2: print "1는 2와 같다."; break; } ?>