Most probably you won't do what I'm going to tell you. At least not for a while, then later when you revisit this question of yours (by chance) you'll realized that my answer was right.
Don't nest if blocks inside switch blocks, don't even nest switch blocks inside switch blocks. Both are a code smell, a sign that your code is violating the SRP (single responsibility principle). Which means that this particular part of your code is in charge of too many different things at once.
Go up one level or maybe more than one level in your code hierarchy and find places where you can deletegate certain tasks to specific functions. Maybe you realize that you need to encapsulate a group of functions within a class. All of a sudden, you realize that you don't need nested control blocks anymore.
If you use PHPLOC or similar metric tools you will also realize that the cyclomatic complexity of your code goes down as you refactor it as suggested and you will probably see a performance improvement as well.