<?php $d = range(0, 100); $v = 1; switch (true) { case in_array($v, $d): echo 'the value is either 1 or 2'; break; }
You have javascript disabled. You will not be able to edit any code.