Here is one proposal for a feature
| From: | wallflips wallflipsov | Date: | Thu, 04 Oct 2012 09:41:42 +0000 |
| Subject: | Here is one proposal for a feature | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-14801@lists.php.net to get a copy of this message | ||
Hi php.net, I am a great fan of your work and I respect php as I
respect my projects. I am greatful that it is free and quality, but
for some reason I happened to find out that there was a thing that PHP
does not have and it's very unlimiting. See for yourself the example
that i will give you, no more words needed.
switch($string) {
foreach($array as $ar) { // or while / for
case $ar:
$string2 = $someOtherString;
break;
}
}