What are the potential pitfalls of using multiple conditions in an ELSEIF statement in PHP?

Using multiple conditions in an ELSEIF statement can lead to increased complexity and potential errors in the code. To avoid this, it is recommended to use nested IF statements instead to improve readability and maintainability of the code.

if ($condition1) {
    // code block
} elseif ($condition2) {
    // code block
} elseif ($condition3) {
    // code block
} else {
    // default code block
}