Skip to content

[HttpFoundation][5.4.30]  #52419

@tsukasa-mixer

Description

@tsukasa-mixer

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy