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
Rahul Raveendran -
Olga Lugacheva -
Mike Young -
ServBay -
Top comments (0)