<?php $a=2; $b=0; switch($a) { case 1: default: $b += 1; break; default: $b += 2; } echo $b; //output would be 1
You have javascript disabled. You will not be able to edit any code.