You say Switch was deprecated in 5.12.0. That's incorrect. It's inclusion in core was deprecated. The module was not deprecated.
I advise against using Switch as it can result in hard to debug errors, but it's wrong to claim it has been deprecated.
In reply to Re^2: switch statement
by ikegami
in thread switch statement
by virtuemart2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |