<?php$k = 1;switch(print $k){case 2: print "Statement1"; break;case 1: print "Statement2"; break;default: print "Statement3";}?>
Print returns 1,thus it gives case 1.
Previous Question Next Question
Your comments will be displayed only after manual approval.