a guest Aug 10th, 2016 35,043 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. switch ($color) {
  2.     case 'azul':
  3.         echo "El color es azul";
  4.         break;
  5.     case 'rojo':
  6.         echo "El color es rojo";
  7.         break;
  8.     case 'turquesa':
  9.         echo "El color es turquesa";
  10.         break;
  11.     case 'lapislazuli':
  12.         echo "El color es lapislazuli";
  13.         break;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand