Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[HttpFoundation][5.4.30]  #52419

Copy link
Copy link
Closed
Closed
Copy link
@tsukasa-mixer

Description

@tsukasa-mixer
Issue body actions

Symfony version(s) affected

5.4.30

Description

symfony/http-foundation@2213955

Create many warnings on php 7.2 and not identical work on php 7.2\8.1

  • Uninitialized string offset: 0
    /HeaderUtils.php(266)

  • $separators on 7.2 possible false

How to reproduce

run on php 7.2-7.4

Possible Solution

    private static function groupParts(array $matches, string $separators, bool $first = true): array
    {
        $separator = $separators[0];
        $separators = substr($separators, 1) ?: '';

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.