🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

detect PREG_UNMATCHED_AS_NULL beeing used for wrong parameter #14910

Description

@staabm

Feature request

I am not sure how/whether we can detect this situation, but it would be great we could report that PREG_UNMATCHED_AS_NULL is used in the $limit parameter instead of the expected $flags parameter

https://phpstan.org/r/fd8d2392-069d-4cbe-b0f7-8a2892e8810c

we should report an error on line 12

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