Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Created June 21, 2017 22:28
Show Gist options
  • Select an option

  • Save NandoKstroNet/8b4361ddb007f00df63386643bf03953 to your computer and use it in GitHub Desktop.

Select an option

Save NandoKstroNet/8b4361ddb007f00df63386643bf03953 to your computer and use it in GitHub Desktop.
Código criado para a série de postagens sobre Como Começar a Desenvolver pra Web com PHP da Code Experts Learning
<?php
$a = 15;
switch($a) {
case 10:
print 'A variável $a é igual a 10';
break;
case 15:
print 'A variável $a é igual a 15';
break;
default:
print 'Nenhum valor encontrado...';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment