Open wussup opened 2 months ago
stripos can not take a null value as an argument in PHP 8.1+
Deprecated: strpos(): Passing null to parameter #1 ($haystack)
check $userAgent before use stripos() function
make GET request without User Agent header
nothing
Thanks for the PR.
Sorry for the delay in replying:
Alternative PR #131
stripos can not take a null value as an argument in PHP 8.1+
Deprecated: strpos(): Passing null to parameter #1 ($haystack)
Summary of Changes
check $userAgent before use stripos() function
Testing Instructions
make GET request without User Agent header
Documentation Changes Required
nothing