<?php $time=10; switch ($time){ case 6: echo"time is 6"; break; case 7: echo"time is 7"; break ; default: echo"time is not good"; break; }
<?php $time=10; switch ($time){ case 6: echo"time is 6"; break; case 7: echo"time is 7"; break ; default: echo"time is not good"; break; }