Category
enhancement · php-src-strict · IMAP surface · pillar 4
Problem
With IMAP advertised, flag mutation, alert queue, GC, threading, ACL, and mailbox summary APIs are missing while siblings like imap_errors / imap_num_msg exist. Verified on master @ 6c206f7ff (2026-08-05). Distinct from mailbox list/subscribe (#pending sibling) and fetch/MIME open issues.
| Symbol |
Zend (ext/imap) |
VM |
imap_setflag_full / imap_clearflag_full |
present |
missing |
imap_alerts |
present |
missing (imap_errors OK) |
imap_gc |
present |
missing |
imap_thread |
present |
missing |
imap_getacl / imap_setacl |
present |
missing |
imap_headers / imap_mailboxmsginfo |
present |
missing |
php-src reference
PHP implementation target
ext/imap + VmImap* PHP-in-PHP; gate on IMAP advertisement; no new runtime/*.c
Repro
./script/docker-exec.sh -- bash -lc '
cat > /tmp/imap_flags.php <<'"'"'PHP'"'"'
<?php
echo "imap=", extension_loaded("imap") ? "yes" : "no", "\n";
foreach (["imap_setflag_full","imap_clearflag_full","imap_alerts","imap_gc","imap_thread","imap_getacl","imap_setacl","imap_headers","imap_mailboxmsginfo","imap_errors"] as $f) {
echo $f, "=", function_exists($f) ? "yes" : "no", "\n";
}
PHP
php bin/vm.php /tmp/imap_flags.php
'
Done when
Gate snapshot when filing (2026-08-05)
- inventory OK 7016/7016; VM driver probe OK
Category
enhancement· php-src-strict · IMAP surface · pillar 4Problem
With IMAP advertised, flag mutation, alert queue, GC, threading, ACL, and mailbox summary APIs are missing while siblings like
imap_errors/imap_num_msgexist. Verified on master @6c206f7ff(2026-08-05). Distinct from mailbox list/subscribe (#pending sibling) and fetch/MIME open issues.imap_setflag_full/imap_clearflag_fullimap_alertsimap_errorsOK)imap_gcimap_threadimap_getacl/imap_setaclimap_headers/imap_mailboxmsginfophp-src reference
ext/imap/php_imap.stub.phpext/imap/php_imap.c— flag/alert/gc/thread/acl handlersPHP implementation target
ext/imap+VmImap*PHP-in-PHP; gate on IMAP advertisement; no newruntime/*.cRepro
Done when
Gate snapshot when filing (2026-08-05)