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
Marat Latypov -
Alexey Boyko -
MD ARIFUL HAQUE -
Rick Markowitz -
Top comments (0)