You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stdlib: DOMImplementation::createDocument() optional args — 2-arg form fatal (ext/dom/php_dom.c) #14408
DOMImplementation::createDocument(?string $namespace = null, string $qualifiedName = \"\", ?DOMDocumentType $doctype = null) accepts 0–3 arguments in php-src. VM requires exactly 3 user arguments and throws LogicException: expects exactly 3 arguments for the common 2-arg createDocument(null, 'root') form Zend accepts.
Blocks factory code that creates empty or named-root documents without an explicit doctype.
Activity
PurHur commentedon Jul 2, 2026
claim: cursor-agent-lane-c — batch (issues #14408, #14394)
Fix DOMImplementation::createDocument() optional args (#14408) (#15029)
PurHur commentedon Jul 2, 2026
Merged via #15029 — VM repro +
dom_implementation_create_document_optionalcompliance green.