note 103210 deleted from control-structures.switch by danbrown

From: Date: Thu, 31 Mar 2011 21:28:41 +0000
Subject: note 103210 deleted from control-structures.switch by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178396@lists.php.net to get a copy of this message
Note Submitter: andrewrchambers at gmail dot com ---- It's just a guess but a jump table for a switch statement that accepts strings would involve at least a condition and a hash and for small switches, an if/else chain would be more efficient. I'm eager to hear if/why I'm wrong though so please let me know.

« previous php.notes (#178396) next »