[PHP 8.1] Deprecated functions
Closed this issue · 3 comments
duskohu commented
Hi I have errors in my php 8.1, version of WhichBrowser: v2.1.2
strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
whichbrowser/parser/src/Data/DeviceModels.php:265
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
whichbrowser/parser/src/Data/Applications.php:83
explode(): Passing null to parameter #2 ($string) of type string is deprecated
whichbrowser/parser/src/Model/Version.php:94
NielsLeenheer commented
Should be fixed in the upcoming release
duskohu commented
Thx, What time will be upcoming release?
JohnyRicio commented
Please when we can expect release? This bug is there for more than one year. Should I create new issue? I think that this issue is not solved but issue is closed.