@switch (1)
@case (1)
Value is 1
@break
@case (2)
Value is 2
@break
@default
Value is neither 1 or 2
@endswitch
And this is the outputted error:
Parse error: syntax error, unexpected T_INLINE_HTML " ", expecting "case" or "default" or "}" in C:\xampp\htdocs\crow\vendor\corviz\crow\src\Crow.php(138) : eval()'d code on line 1
This is the code example:
And this is the outputted error: Parse error: syntax error, unexpected T_INLINE_HTML " ", expecting "case" or "default" or "}" in C:\xampp\htdocs\crow\vendor\corviz\crow\src\Crow.php(138) : eval()'d code on line 1