Multiple Cases. Falling Through PHP


#1

if ($i == 1 ||
    $i == 2 ||
    $i == 3) {
 echo '$i is somewhere between 1 and 3.';
}

"With a switch statement, you can do this by adding cases right after another without a break. This is called falling through. The following code works exactly like the above if statement:"

The above is all copied and pasted from The lesson "Multiple Cases. Falling Through."

My question is:
The part I have in bold_"With a switch statement, you can do this by adding cases right after another without a break"_ should be wrong, because in previous lessons we always used breaks when using switch. Can someone please explain?


#2

@mario71,
Using google search
== discussions / opinions ==
php is using switch fall through a good idear site:stackoverflow.com
http://stackoverflow.com/questions/188461/switch-statement-fallthrough-should-it-be-allowed