I have a switch statement that has over 300 case statements.
case 'hello':
{ $say = 'some text'; }
break;
case 'hi':
{ $say = 'some text'; }
break;
Why is it that the break is always on a separate line? Is this required? Is there anything syntactically incorrect about me doing this:
case 'hello': { $say = 'some text'; } break;
case 'hi': { $say = 'some text'; } break;