fork download
  1. <?php
  2. $x = "1";
  3. switch ($x) {
  4. case 1:
  5. echo "é 1";
  6. break;
  7. case 2:
  8. echo "é 2";
  9. break;
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/215652/101
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
é 1