Skip to content

Hangs on large arrays #1275

@arnaud-lb

Description

@arnaud-lb

Summary of a problem or a feature request

When the code contains a large array and uses it in some way, PHPStan may hang

Code snippet that reproduces the problem

https://gist.github.com/arnaud-lb/ca5b945cf12a6e8959fb60d02d9e8e7a

Expected output

Ideally, PHPStan should not hang here

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