note 96374 deleted from control-structures.switch by danbrown

From: Date: Tue, 23 Feb 2010 19:49:20 +0000
Subject: note 96374 deleted from control-structures.switch by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166302@lists.php.net to get a copy of this message
Note Submitter: imikay at gmail dot com ---- lchanady at gmail dot com below mentioned that ------------------------------------------- $a = "abc"; $b = "def"; switch($c){ case "a": echo "a"; break; case "b": echo "b"; break; default: echo "default"; break; } ------------------------------------------ the snippet above will not raise an error,but it's not the case, it does yield an notice.So what he said is wrong. (PHP Version 5.3.0)

« previous php.notes (#166302) next »