What are some best practices for structuring PHP code, such as using if-else statements and switch-case constructs?

When structuring PHP code, it's important to maintain readability and maintainability. One way to achieve this is by using if-else statements or switch-case constructs to handle different conditions or branches of logic in your code. By organizing your code in this way, you can make it easier to understand and maintain in the future.

// Example of using if-else statements to handle different conditions

$number = 10;

if ($number < 0) {
    echo "Number is negative";
} elseif ($number > 0) {
    echo "Number is positive";
} else {
    echo "Number is zero";
}
```

```php
// Example of using switch-case construct to handle different cases

$day = "Monday";

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