Is there anyway to make it so that the following code still uses a switch and returns b not a? Thanks!
b
a
$var = 0; switch($var) {
make switch use === comparison not == comparison In PHP
Unfortunately switch uses loose comparison and as far as I know there's no way to change that.