[php-src] PR #19786: Fix inconsistent behavior when zend-max-execution-timers is enabled
| From: | Appla | Date: | Wed, 10 Sep 2025 09:23:31 +0000 |
| Subject: | [php-src] PR #19786: Fix inconsistent behavior when zend-max-execution-timers is enabled | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33172@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19786
Author: Appla
When
zend-max-execution-timers is enabled, [this test
case](https://github.com/php/php-src/blob/PHP-8.3/tests/lang/045.phpt) consistently fails.
This patch aligns its behavior with other types of timeout implementations.
I'm unsure whether related code paths—such as
[main.c#L2523](https://github.com/php/php-src/blob/96c0bc55bb6c1201a73782615b88407e37f4a3ef/main/main.c#L2523)
and
[php_cli_server.c#L2278](https://github.com/php/php-src/blob/96c0bc55bb6c1201a73782615b88407e37f4a3ef/sapi/cli/php_cli_server.c#L2278)—should
also be updated.