phpstan-src
phpstan-src copied to clipboard
Add `parse_str` and `mb_parse_str` by-ref result type specifier
Fixes one case from phpstan/phpstan#7231
Whoops, looks like it still fails. Will fix it tomorrow
Thanks, but this should be done via stub after https://github.com/phpstan/phpstan-src/pull/1804.
Thanks, but this should be done via stub after #1804.
But there's no way getting constant arrays from constant strings with @param-out.
It's one of the key features of this PR.
https://phpstan.org/r/ce7618fa-543a-4e35-ac99-99c2b8f0a7b0
I think we would need a new extension-type, which allows to programatically define paramOut types