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
stdlib · php-src-strict · same class as #11472 (intl/grapheme phantom extension_loaded)
Problem
extension_loaded('curl') reports true, but calling curl_init() throws LogicException: curl_init() is not implemented in this compiler build (issue #3325). Zend only returns true when the extension is actually loadable; feature probes must not lie.
Align extension_loaded() registry in ext/standard with modules that actually register handlers (skeleton #6999 should not mark curl loaded until curl_init is real)
Prefer fixing registry over try/catch stubs in user code
Done when
extension_loaded('curl') false until ext/curl handlers ship orcurl_init() succeeds when loaded
Repro green; audit other skeleton extensions for same phantom pattern
Activity
PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11636, #11639, #11627)
Fix extension_loaded('curl') phantom true before curl_init ships (#11627
PurHur commentedon Jun 25, 2026
Merged in PR #11648 — extension_loaded('curl') false while curl_init skeleton registered; VM + AOT -l verified.