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: CURLINFO_* constants defined without ext/curl — phantom registry (ext/curl/php_curl.h) #11669
defined('CURLINFO_EFFECTIVE_URL') is true and function_exists('curl_init') is true on VM while extension_loaded('curl') is false and Zend (no ext/curl) reports the constant undefined and curl_init absent.
User code gating on defined('CURLINFO_*') or assuming constants imply a working curl extension gets false positives. Related to closed #11654 / #11627 extension probe mismatches — this issue scopes constant registration specifically.
Activity
PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11677, #11669, #11674)
Withhold CURLINFO_* constants until ext/curl is loaded (#11669). (#11684
PurHur commentedon Jun 25, 2026
Merged via #11684. Repro: curlinfo_defined=no, curl_init_exists=no, extension_loaded_curl=no.