Evening, friends! We covered PDO ODBC in r21. This time it’s the turn of two PHP functions that compare associative arrays, array_udiff_assoc() and array_uintersect_assoc().
With these two functions, you get to decide how to compare the values. So if Debian and debian should count as the same value in your application, you can give PHP a function that ignores case. For that to work, though, PHP has to hang on to the function you gave it! If your comparison function called one of those two functions in turn and passed it a different comparator, PHP could stick with that second comparator for the rest of the sort! That’s exactly what r22 fixes.
I’ve backported the fix to all 30 PHP/Debian combinations in the main repository. We tested the upgrade from r21 via the signed APT repositories on Stretch, Buster and Bullseye. Across the 218,158 PHPT cases in the main repository, we saw the same 297 failures and 11 warnings as in r21. No new differences. The details of StackX PHP r22
For those of you testing a copy of your application on Stretch or Buster with PHP 8.4.27, the experimental channel is moving to r22 too, with the same fix. We ran PHP 8.1 and PHP 8.4 side by side under Apache again, each with its own PHP-FPM pool. Imagick, PostgreSQL, Memcached and Redis also passed their tests on both Debian releases. Packages and test results for the experimental PHP 8.4 r22 channel
Time for me to go have a bath and get some rest. Good night, friends!
--
Christophe Casalegno
all.bo
Leave a comment
Add a comment