Skip to content

Stdlib: imap_timeout() + IMAP_*TIMEOUT when IMAP advertised (#27680) - #28114

Merged
PurHur merged 1 commit into
masterfrom
fix/27680-imap-timeout
Aug 6, 2026
Merged

PurHur merged 1 commit into
masterfrom
fix/27680-imap-timeout

Conversation

@PurHur

@PurHur PurHur commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • PHP_COMPILER_ENABLE_IMAP=1 PHP_COMPILER_PROFILE=8.3 php bin/vm.php test/repro/imap_timeout_27680.php
  • PHPT test/compliance/cases/stdlib/imap_timeout.phpt FILE section via VM (EXPECT match)
  • php script/bootstrap-inventory.php --check → OK 7122/7122
  • php script/check-selfhost-spine-coverage-sync.php → OK
  • ./script/check-generated-docs.sh → all in sync

Verification

Y
Y
1,2,3,4
60
true
42
int|bool
-1
timeout_type/timeout

php-src: ext/imap/php_imap.stub.php / PHP_FUNCTION(imap_timeout) in php_imap.c.

Made with Cursor

Process-wide open/read/write/close timeout table matching php-src get/set
semantics; register constants and Reflection int|bool / timeout=-1.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 4da60d9 into master Aug 6, 2026
0 of 2 checks passed
@PurHur
PurHur deleted the fix/27680-imap-timeout branch August 6, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stdlib: imap_timeout() + IMAP_*TIMEOUT constants missing when IMAP advertised (ext/imap/php_imap.stub.php)

1 participant