$aColor = "Red";
switch( $aColor )
{
case "red":
case "Red":
// The following prints if $aColor is
// either "red" or "Red"
print( "#FF0000
" );
break;
case "green":
case "Green":
print( "#00FF00
" );
break;
case "blue":
case "Blue":
print( "#0000FF
" );
break;
default:
print( "other
" );
break;
}
?>