[php-src] PR #23097: date: Fix `Z_PARAM_DATE_TIME_DURATION()` error handling
| From: | TimWolla | Date: | Fri, 07 Aug 2026 10:38:11 +0000 |
| Subject: | [php-src] PR #23097: date: Fix `Z_PARAM_DATE_TIME_DURATION()` error handling | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37599@lists.php.net to get a copy of this message | ||
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.