<?php $foo = 'bar'; $null = null; switch ($foo) { default: // Remove this line and it works like expected. case 'bar': if ($null) { // Shouldn't this fail? var_dump($null); die(); } else { var_dump('else'); die(); } }
You have javascript disabled. You will not be able to edit any code.