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