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) {
One of the best way is to check NULL value by using is_null
is_null