Skip to content

version_compare() params and return type #4457

@gharlan

Description

@gharlan

Bug report

I get unexpected errors for version_compare().

Code snippet that reproduces the problem

https://phpstan.org/r/e09f4ab5-16fa-4be9-a613-1e604986e2bf

Expected output

No errors expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions