Wrong ❌
if ($a == 1) {
return true;
}
return false;
Correct ✅
switch ($a) {
case 1:
return true;
break;
default:
return false;
break;
}
Wrong ❌
if ($a == 1) {
return true;
}
return false;
Correct ✅
switch ($a) {
case 1:
return true;
break;
default:
return false;
break;
}
For further actions, you may consider blocking this person and/or reporting abuse
bsorrentino -
Valeria -
Anwar Achilles -
Fin Chen -
Top comments (0)