Yes, if there is no "break", then all actions following the first will be performed case. The control thread will βfailβ in all subsequent ones caseand perform all actions under each subsequent caseone until an operator is met break;or until the end of the instruction is reached switch.
In your example, if $ x has a value of 50, you really will see "nope".
, switch , switch, , case.
, "foo", $x 0. (, $x 0, , , "foo bar nope". )
, case, return 0 ( false) 1 ( ). (0 1), switch $x.