development

Last PHP releases in 2021.

bisakha-datta-6SmukZ_w6s-unsplash

Last week PHP released three updates - versions 8.1.1, 8.0.14, and 7.4.27. They became the last update available in 2021. These versions are normal bug fix releases and do not contain any new features, only eliminating several issues. Other upcoming changes will become publicly accessible only on January 20th.

Version 7.4.27 is the last normal release for PHP 7.4. All the upcoming updates will only be released to resolve security issues. The changes are following:

  • fix for error when static:: in __сallStatic() was used wrapped to Closure::fromCallable();
  • patched future possibility for heap overflow when using PHP-FPM's log management system (zlog);
  • resolved issue triggered by libpng when using imagecreatefromstring;
  • fixed issue with detecting RAND_egd;
  • fixed out of bounds error in php_pcre_replace_impl;
  • fixed failure running dns_get_record in FreeBSD environment when type is missing;
  • resolved unnecessary overallocation by stream_get_contents()

Version 8.0.14 is the latest available in the 8.0 branch. It contains a bigger number of changes. Namely:

  • fixed issue when if `__toString()` comes via a trait, then the implicit implementation of `Stringable` does not work;
  • resolved issue with Fatal Error improper logging in some cases;
  • resolved error when using static:: in __сallStatic() wrapped to Closure::fromCallable();
  • fixed incorrect line number in the error message when using a dynamic class name;
  • patched future possibility for heap overflow when using PHP-FPM's log management system (zlog);
  • resolved issue triggered by libpng when using imagecreatefromstring;
  • resolved imap_delete and imap_undelete accepting sequences instead of single numbers;
  • fixed issue with detecting RAND_egd;
  • fixed out of bounds error in php_pcre_replace_impl;
  • fixed MutlipleIterator segmentation fault when SimpeXMLElement is attached;
  • fixed failure running dns_get_record in FreeBSD environment when type is missing;
  • resolved unnecessary overallocation by stream_get_contents()

Version 8.1.1 is the latest update for the newest PHP branch. It contains just a few changes:

  • resolved imap_delete and imap_undelete accepting sequences instead of single numbers;
  • the bundled PCRE2 was updated to 10.39;
  • fixed out of bounds error in php_pcre_replace_impl;
  • resolved unnecessary overallocation by stream_get_contents().

Reading next

marvin-meyer-SYTO3xs06fU-unsplash
joshua-woroniecki-bRuaLZ302lY-unsplash

Interested in a specific business & technology topic and looking for an article in our blog but haven't found one yet?

If you haven't come across an article that matches your query, feel free to suggest the topic to us, and we'll consider featuring it in our blog. Share your suggestion in the form below, and we'll be sure to review your request.

Talk with us

If you have any questions or problems in your business that can be solved with technical solutions, just let us know. We'll do everything we can to help you.