<?php function foo($foo) { $bar = 'bar'; switch ($foo) { case 'foo': $bar = 'baz'; case 'bar': return $bar; } } var_dump(foo('foo'), foo('bar'));
You have javascript disabled. You will not be able to edit any code.