Blog Details

Zest LogicLast PHP releases in 2021.
zlogicmaster December 20, 2021
Photo by Bisakha Datta on 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().