On 3 December, we released StackX PHP r22 for amd64 servers running Debian 9 Stretch, 10 Buster and 11 Bullseye. This release fixes an issue with associative array comparisons. When an application’s comparison function called array_udiff_assoc() or array_uintersect_assoc() with a different comparator, PHP could keep using that second comparator for the rest of the sort. In r22, PHP restores the application’s comparator when the nested call returns.
The fix covers all 30 PHP/Debian combinations in the main repository. We tested the upgrade from r21 through our signed APT repositories on all three distributions. Across 218,158 PHPT cases, we saw the same 297 failures and 11 warnings as in r21, with no new differences. StackX PHP r22 fixes and test results
The experimental PHP 8.4.27 channel gets the same fix on Stretch and Buster. For our migration tests, we again ran PHP 8.1 and PHP 8.4 side by side under Apache, each with its own PHP-FPM pool. Tests with Imagick, PostgreSQL, Memcached and Redis passed on both distributions. Packages and test results for the experimental PHP 8.4 r22 channel
If you’d like to test a copy of your application on PHP 8.4 on a server we manage for you, open a support ticket. If you also manage machines elsewhere, both repositories are public.