Skip to content

standard: Fix error reporting for negative timeouts in Io\Poll\Context::wait() - #23099

Merged
TimWolla merged 1 commit into
php:masterfrom
TimWolla:poll-wait-error-reporting
Aug 7, 2026
Merged

standard: Fix error reporting for negative timeouts in Io\Poll\Context::wait()#23099
TimWolla merged 1 commit into
php:masterfrom
TimWolla:poll-wait-error-reporting

Conversation

@TimWolla

@TimWolla TimWolla commented Aug 7, 2026

Copy link
Copy Markdown
Member

Following #23092.

nicolas-grekas added a commit to symfony/polyfill that referenced this pull request Aug 7, 2026
php/php-src#23099 reports the negative timeout as argument #1 instead of #2,
which is what the polyfill already does, and covers both errors with a phpt.
It passes as is.
nicolas-grekas added a commit to symfony/polyfill that referenced this pull request Aug 7, 2026
php/php-src#23099 reports the negative timeout as argument #1 instead of #2,
which is what the polyfill already does, and covers both errors with a phpt.
It passes as is.
@TimWolla
TimWolla merged commit 0380f25 into php:master Aug 7, 2026
18 checks passed
@TimWolla
TimWolla deleted the poll-wait-error-reporting branch August 7, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants