Which is Faster and better, Switch Case or if else if?
<p>Which is the better and fastest methods : if or switch ?</p>

<pre><code>if(x==1){
echo "hi";
}else (x==2){
echo "bye";
}

switch(x){
case 1
...
break;
default;
} 
</code></pre>
