How can the switch statement in PHP be utilized to handle multiple conditions more efficiently?

When dealing with multiple conditions in PHP, the switch statement can be utilized to handle them more efficiently than using a series of if-else statements. The switch statement evaluates an expression and then executes the code block associated with the matching case. This can make the code more readable and easier to maintain, especially when there are many conditions to check.

// Example of using switch statement to handle multiple conditions efficiently
$day = "Monday";

switch ($day) {
    case "Monday":
        echo "Today is Monday";
        break;
    case "Tuesday":
        echo "Today is Tuesday";
        break;
    case "Wednesday":
        echo "Today is Wednesday";
        break;
    default:
        echo "Today is not Monday, Tuesday, or Wednesday";
}