Posts by user17781 • 25 points
1 post
-
-5
votes2
answers151
viewsQ: switch does not show the expected result
What’s wrong? It was supposed to appear "no value", but when it starts with zero appears "very high value" in the message. <?php $num = 0; switch ($num){ case($num>100); echo'valor muito…