You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like a problem with expecting null but getting an array but not sure where the error exists.
The text was updated successfully, but these errors were encountered:
alexander-schranz
changed the title
Expecting null but returning array throws strange runtime error
Expecting null but give an array throws strange runtime error
Mar 22, 2022
I have the following snapshot:
Which is testing the following json:
Example:
https://php-matcher.norbert.tech/?form%5Bvalue%5D=%7B%0D%0A++++%22availableLocales%22%3A+%5B%0D%0A++++++++%22en%22%0D%0A++++%5D%0D%0A%7D&form%5Bpattern%5D=%7B%0D%0A++++%22availableLocales%22%3A+null%0D%0A%7D&form%5Bmatch%5D=
It errors with Argument 4 is null instead of string at:
php-matcher/src/Matcher/ArrayMatcher.php
Line 76 in ac729bb
It seems like a problem with expecting null but getting an array but not sure where the error exists.
The text was updated successfully, but these errors were encountered: