Home » Releases » 7.4 » 7.4.33 »

PHP 7.4.18

PHP 7.4 is no longer officially supported by the PHP project.

Official support refers to that provided direct by the PHP Project.

If you install PHP via third-party packages, support timelines may be different. Please read the Release Support Policy for more information.

The latest release of PHP 7.4 is 7.4.33 which includes important security patches.

Source Code

Change Log

  • core

    • Fixed bug #80781 (Error handler that throws ErrorException infinite loop).
      Nikita
    • Fixed bug #75776 (Flushing streams with compression filter is broken).
      cmb
    • Fixed #80706 (mail(): Headers after Bcc headers may be ignored).
      cmb
  • dba

    • Fixed bug #80817 (dba_popen() may cause segfault during RSHUTDOWN).
      cmb
  • dom

    • Fixed bug #66783 (UAF when appending DOMDocument to element).
      cmb
  • fpm

    • Fixed bug #80024 (Duplication of info about inherited socket after pool removing).
      Jakub Zelenka
  • ftp

    • Fixed bug #80880 (SSL_read on shutdown, ftp/proc_open).
      cmb
      Jakub Zelenka
  • imap

    • Fixed bug #80710 (imap_mail_compose() header injection).
      cmb
      Stas
  • intl

    • Fixed bug #80763 (msgfmt_format() does not accept DateTime references).
      cmb
  • libxml

    • Fixed bug #51903 (simplexml_load_file() doesn't use HTTP headers).
      cmb
    • Fixed bug #73533 (Invalid memory access in php_libxml_xmlCheckUTF8).
      cmb
  • mysqlnd

    • Fixed bug #80713 (SegFault when disabling ATTR_EMULATE_PREPARES and MySQL 8.0).
      Nikita
    • Fixed bug #80837 (Calling stmt_store_result after fetch doesn't throw an error).
      Kamil Tekiela
    • Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit null-terminated password).
      Daniel Black
  • opcache

    • Fixed bug #80805 (create simple class and get error in opcache.so).
      Nikita
    • Fixed bug #80950 (Variables become null in if statements).
      Nikita
    • Fixed bug #80682 (opcache doesn't honour pcre.jit option).
      Remi
  • pcntl

    • Fixed bug #79812 (Potential integer overflow in pcntl_exec()).
      cmb
  • pcre

    • Fixed bug #80866 (preg_split ignores limit flag when pattern with \K has 0-width fullstring match).
      Kamil Tekiela
  • pdo_odbc

    • Fixed bug #80783 (PDO ODBC truncates BLOB records at every 256th byte).
      cmb
  • pdo_pgsql

    • Fixed bug #80892 (PDO::PARAM_INT is treated the same as PDO::PARAM_STR).
      Matteo
  • phpdbg

    • Fixed bug #80757 (Exit code is 0 when could not open file).
      Felipe
  • session

    • Fixed bug #80774 (session_name() problem with backslash).
      cmb
    • Fixed bug #80889 (Cannot set save handler when save_handler is invalid).
      cmb
  • soap

    • Fixed bug #69668 (SOAP special XML characters in namespace URIs not encoded).
      cmb
  • standard

    • Fixed bug #78719 (http wrapper silently ignores long Location headers).
      cmb
    • Fixed bug #80771 (phpinfo(INFO_CREDITS) displays nothing in CLI).
      cmb
    • Fixed bug #80838 (HTTP wrapper waits for HTTP 1 response after HTTP 101).
      manuelm
    • Fixed bug #80915 (Taking a reference to $_SERVER hides its values from phpinfo()).
      Rowan Tommins
    • Fixed bug #80654 (file_get_contents() maxlen fails above (2**31)-1 bytes).
      cmb
  • mysqli

    • Fixed bug #74779 (x() and y() truncating floats to integers).
      cmb
  • openssl

    • Fixed bug #80747 (Providing RSA key size < 512 generates key that crash PHP).
      Nikita
  • phar

    • Fixed bug #75850 (Unclear error message wrt. __halt_compiler() w/o semicolon) (cmb)
    • Fixed bug #70091 (Phar does not mark UTF-8 filenames in ZIP archives).
      cmb
    • Fixed bug #53467 (Phar cannot compress large archives).
      cmb
      lserni
  • spl

    • Fixed bug#80719 (Iterating after failed ArrayObject::setIteratorClass() causes Segmentation fault).
      Nikita
  • zip

    • Fixed bug #80648 (Fix for bug 79296 should be based on runtime version).
      cmb
      Remi

PHP 7.4


  Represents a security release