Bug report
PHPStan incorrectly assumes that the second call to a non-deterministic function would yield the same result.
Code snippet that reproduces the problem
https://phpstan.org/r/fb5391d6-50fb-4378-9c11-3306b911055f
Expected output
No issues should be reported.
Did PHPStan help you today? Did it make you happy in any way?
PHPStan helps me every single day. Love you guys!