Description
Following the PHP 5.6 to 7.4 upgrade in the Docker configuration (PR #188), the BLIS PHP source code should be audited for compatibility issues.
Potential Issues to Check
- Usage of
each() function (removed in PHP 7.2)
- Curly-brace array/string access syntax
$arr{0} (deprecated in 7.4)
array_push() / array_key_exists() behavior changes
mysql_* functions (removed in PHP 7.0, should use mysqli_*)
- Changes to
list() behavior and assignment order
- Type coercion changes in comparison operators
count() on non-countable types now emits a warning
Context
Dev environment has been tested and works, but a thorough code audit would catch edge cases.
Description
Following the PHP 5.6 to 7.4 upgrade in the Docker configuration (PR #188), the BLIS PHP source code should be audited for compatibility issues.
Potential Issues to Check
each()function (removed in PHP 7.2)$arr{0}(deprecated in 7.4)array_push()/array_key_exists()behavior changesmysql_*functions (removed in PHP 7.0, should usemysqli_*)list()behavior and assignment ordercount()on non-countable types now emits a warningContext
Dev environment has been tested and works, but a thorough code audit would catch edge cases.