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
Calling method Strings::indexOf() with parameter $haystack being empty string and negative parameter $nth will end with ValueError "strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)".
Version: 3.2.5
PHP: 8.0.12
Bug Description
Calling method
Strings::indexOf()
with parameter$haystack
being empty string and negative parameter$nth
will end with ValueError "strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)".Steps To Reproduce
Execute following code
ValueError is thrown
Expected Behavior
Variable
$position
containsNULL
.The text was updated successfully, but these errors were encountered: