### 问题

PHP官方文档里是这样说的

It is recommended that you avoid “stacking” ternary expressions. PHP’s behaviour when using more than one ternary operator within a single statement is non-obvious: this is because ternary expressions are evaluated from left to right