[GIT-PULLS] [php-src] PR #23097: date: Fix `Z_PARAM_DATE_TIME_DURATION()` error handling
[email protected] (TimWolla)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23097
Author: TimWolla
The `Z_PARAM_*()` macros rely on `break;` to jump to `ZEND_PARSE_PARAMETERS_END()`, thus we must not wrap their code into a `do { } while(0)` loop, but instead must use a regular block.