note 16637 deleted from control-structures.switch by david
| From: | david@php.net | Date: | Thu, 30 May 2002 15:52:43 +0000 |
| Subject: | note 16637 deleted from control-structures.switch by david | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-31216@lists.php.net to get a copy of this message | ||
The conditional example using 'or' did not work for me. The example was:
case "é" || "è" || "ê":
$a = str_replace(substr($a,$i,1),"e",$a);
break;
To make it work, I had to do:
case "é":
case "è":
case "ê":
$a = str_replace(substr($a,$i,1),"e",$a);
break;