note 32387 rejected from control-structures.alternative-syntax by spic

From: Date: Mon, 26 May 2003 14:21:01 +0000
Subject: note 32387 rejected from control-structures.alternative-syntax by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49034@lists.php.net to get a copy of this message
Note Submitter: info@ichier.de ---- why isnt it possible to switch using < and > like switch ($i) { case <10: echo "blah"; case <20: echo "blubb"; case >20: echo "nah"; } this worked in basic hundred years ago :( how to handle things like that better then using if?

« previous php.notes (#49034) next »