I have a really dumb question and not really important but it has been bugging me for quite some time: how do I indent "correctly" the "break;" inside a switch statement in PHP?
Like this:
case "foo":
do_whatever(TRUE);
break;
case "bar":
...
or like this?
case "foo":
do_whatever(TRUE);
break;
case "bar":
...
As I have said, it is silly but I'd like to know from more experienced programmers so that I can stick with one style (the most common one) and don't get baffled everytime.
Thank you!