Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Deprecated ..." message in PHP 7.3, file owa_lib.php #414

gioalhaz opened this issue Aug 8, 2019 · 0 comments


Copy link

commented Aug 8, 2019

In file owa_lib.php on line 476 (function fileInclusionFilter) there is deprecated code
if (strpos($str, null))

According to PHP doc: "Passing a non-string needle to string search functions is deprecated. In the future the needle will be interpreted as a string instead of an ASCII codepoint. Depending on the intended behavior, you should either explicitly cast the needle to string or perform an explicit call to chr(). "

So null in strpos should be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.