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

Update comparison for PHP 8 #92

Open
wants to merge 5 commits into
base: release/1.18.0
Choose a base branch
from

Conversation

mjaschen
Copy link

@mjaschen mjaschen commented Jun 14, 2022

PHP 8 handles loose comparisons different to PHP <= 7.

An empty string '' compared to 0 doesn't evaluates to true any longer.

An Ajax-call to /get_listings didn't return any items because this check evaluated to the wrong result.

danishxtendify and others added 5 commits August 17, 2021 16:35
PHP 8 handles loose comparisons different to PHP <= 7.

An empty string `''` compared to `0` doesn't evaluates to `true`.

An Ajax-call to `/get_listings` didn't return any items because this check evaluated to the wrong result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants