Skip to content

Wrong assumption about the return value of preg_last_error() #10342

@staabm

Description

@staabm

Bug report

analog #2863

Code snippet that reproduces the problem

https://phpstan.org/r/42b66d95-f5c2-44c5-beac-8fee09594616

Expected output

no error

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions