Feature request
I am not sure how/whether we can detect this situation, but it would be great we could report that PREG_UNMATCHED_AS_NULL is used in the $limit parameter instead of the expected $flags parameter
https://phpstan.org/r/fd8d2392-069d-4cbe-b0f7-8a2892e8810c
we should report an error on line 12
Feature request
I am not sure how/whether we can detect this situation, but it would be great we could report that
PREG_UNMATCHED_AS_NULLis used in the$limitparameter instead of the expected$flagsparameterhttps://phpstan.org/r/fd8d2392-069d-4cbe-b0f7-8a2892e8810c
we should report an error on line 12