Closed
Description
Reference PHP 8 Backward Incompatible Changes
- https://www.php.net/manual/en/migration80.incompatible.php
- <https://wiki.corp.magento.com/pages/viewpage.action?spaceKey=QMT&title=%5BSpike%5DMFTFPHP8Compatibility>
Project: https://github.com/magento/magento2-functional-testing-framework
AC:
- Non-strict comparisons between numbers and non-numeric strings now work by casting the number to string and comparing the strings. Comparisons between
numbers and numeric strings continue to work as before. Notably, this means that0 == "not-a-number"
is considered false now.
RFC: https://wiki.php.net/rfc/string*to_number*comparison - Fix code affected by saner string to number comparisons