Skip to content

Conversation

@cs278
Copy link
Contributor

@cs278 cs278 commented Feb 19, 2025

Tracked down this error to this library:

In bootstrap.php line 19:

  [ErrorException]
  Constant CURL_HTTP_VERSION_3 already defined

It appears to me the standard is to conditionally define symbols so these two were missing a check. I've also added a basic test which should prevent this happening again.

@nicolas-grekas
Copy link
Member

Thank you @cs278.

@nicolas-grekas nicolas-grekas merged commit 48780e2 into symfony:1.x Feb 20, 2025
0 of 7 checks passed
@cs278 cs278 deleted the load-once branch February 20, 2025 13:49
@ro0NL ro0NL mentioned this pull request Mar 3, 2025
@windaishi windaishi mentioned this pull request Apr 11, 2025
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.

4 participants