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:
- CURLOPT_POSTFIELDS no longer accepts objects as arrays. To interpret an object as an array, perform an explicit (array) cast. The same applies to other options accepting arrays as well.
- curlinit() will now return a CurlHandle object rather than a resource. The curlclose() function no longer has an effect, instead the CurlHandle instance is automatically destroyed if it is no longer referenced.
- Fix code related to these CURL changes