<?php $x = 12; switch (true) { case is_numeric($x): echo 'is numeric'; break; case is_string($x): echo 'is string'; break; }
You have javascript disabled. You will not be able to edit any code.