Another situation in which to pretty much always use switch statements instead of if statements are lists like these, where the repetitiveness speaks for itself:
PHP Code:
if (i == 1 || i == 2 || i == 3 || i == 4 || i == 5) return;
PHP Code:
switch (i) { case 1, 2, 3, 4, 5: return; }
__________________