Citation de code source en PHPn° 207
7 August 2014 à 08:44
// Not a joke, I've really seen that
for ($i=0 ; $i<3 ; $i++) {
switch($i) {
case 1:
// do some stuff
break;
case 2:
// do some stuff
break;;
case 3:
// do some stuff
break;
}
}