alert(/xss/); */ function typecast($string, $type) { switch($type) { case 'integer': return (int)($string); case 'string' : return $string; default: return $string; } } ?>

Basic XSS

You entered q =
You entered q =