You're using the alternative syntax for control-structures, which means you have to close your switch at the end, with this
endswitch
making your full code
switch (true):
case $_GET['change']:
echo 'hello';
break;
default:
echo 'bye';
break;
endswitch;
?>
Although, you can simplify this piece of code to the following, unless you intend to expand your switch/case
structure.
echo isset($_GET['change']) ? "hello" : "bye";
In any case, just doing case $_GET['change']:
just checks if that holds any values, not what they are, or if its set at all, so you may get warnings about this. If you intend to expand your structures, you should see the example of @C0dekid - that's how you should build your switch/case