OK I see, http://www.php.net/manual/en/control-structures.switch.php#86911 http://www.php.net/manual/en/control-structures.switch.php#97112 http://www.php.net/manual/en/control-structures.switch.php#84150 How awful. No wonder people write http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/