Files
php-src/sapi/phpdbg
Tim Düsterhus 04f06e8cf2 zend_portability: Remove EMPTY_SWITCH_DEFAULT_CASE() (#20063)
There are several issues with this macro:

- It is incorrectly named: It's not an empty default case. It's an unreachable
  default case.
- It is hiding control flow in its definition, which can be confusing for
  humans and tools (such as Coccinelle) alike, because it looks like it would
  be a statement that belongs to the "current" case rather than opening a new
  one.

Since this macro is exactly as long as explicitly spelling out its definition
(excluding the useless `break;`), it is not even making the code any more
succinct.
2026-04-06 14:46:15 +02:00
..
2026-01-31 19:44:56 +01:00
…
2025-02-01 11:21:09 +01:00
…
2024-08-02 08:38:35 +02:00
2021-06-13 21:08:35 +02:00
2024-07-04 18:44:29 +02:00
2026-03-02 23:13:40 +01:00
2020-02-03 13:41:31 +01:00