PHP 7.4.7

PHP is an open source general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications.

If you are new to PHP and want to get some idea of how it works, try the introductory tutorial.

After that, check out the online manual.

What’s New:

Core:

  • Fixed bug #78434 (Generator yields no items after valid() call).
  • Fixed bug #79477 (casting object into array creates references).
  • Fixed bug #79514 (Memory leaks while including unexistent file).
  • Fixed bug #79470 (PHP incompatible with 3rd party file system on demand).
  • Fixed bug #78784 (Unable to interact with files inside a VFS for Git repository).
  • Fixed bug #78875 (Long variables cause OOM and temp files are not cleaned). (CVE-2019-11048).
  • Fixed bug #78876 (Long variables in multipart/form-data cause OOM and temp files are not cleaned). (CVE-2019-11048).

DOM:

  • Fixed bug #78221 (DOMNode::normalize() doesn’t remove empty text nodes).

EXIF:

  • Fixed bug #79336 (ext/exif/tests/bug79046.phpt fails on Big endian arch).

FCGI:

  • Fixed bug #79491 (Search for .user.ini extends up to root dir).

MBString:

  • Fixed bug #79441 (Segfault in mb_chr() if internal encoding is unsupported).

OpenSSL:

  • Fixed bug #79497 (stream_socket_client() throws an unknown error sometimes with

PCRE:

  • Upgraded to PCRE2 10.34.

Phar:

  • Fixed bug #79503 (Memory leak on duplicate metadata).

SimpleXML:

  • Fixed bug #79528 (Different object of the same xml between 7.4.5 and 7.4.4).

SPL:

  • Fixed bug #69264 (__debugInfo() ignored while extending SPL classes).
  • Fixed bug #67369 (ArrayObject serialization drops the iterator class).

Standard:

  • Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter appended).