How should the case conditions be terminated in a switch-case statement in PHP?

In a switch-case statement in PHP, the case conditions should be terminated with a break statement to prevent fall-through behavior where multiple cases are executed. This ensures that only the code block associated with the matched case is executed. If a break statement is not included, the execution will continue to the next case even if it doesn't match the condition.

switch ($variable) {
    case 'value1':
        // Code block for value1
        break;
    case 'value2':
        // Code block for value2
        break;
    default:
        // Default code block
}