<?PHP ?>: If Statements in Switch cases

Is this actually possible? I thought I saw this before. Not sure if it was real or not. If so, then how does it work?