Skip to content

more precise preg_match typesΒ #11222

@staabm

Description

@staabm

Feature request

while implementing the first iteration of preg_match array-shape inference, I got a few ideas on how the type inference could be improved.

leaving it here as a feature request, so its not forgotten

https://phpstan.org/r/1e3506dd-78dc-4bbe-9c9e-2a5a2928fcfc

Did PHPStan help you today? Did it make you happy in any way?

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