Skip to content

PHPStan does not understand proc_open #13197

@theofidry

Description

@theofidry

Bug report

It appears PHPStan does not understand the assignment by reference of some PHP native functions like proc_open.

It might be loosely related to #11777.

Code snippet that reproduces the problem

https://phpstan.org/r/dc1d4f91-b22d-4eaa-b796-34a353062477

Expected output

No errors.

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

Upgrade to PHPStan2 was easy :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions