Version 7.2

PHP 7.2.34
Released 01 Oct, 2020
core
  • Fixed bug #79699 (PHP parses encoded cookie names so malicious `__Host-` cookies can be sent). (CVE-2020-7070)
openssl
  • Fixed bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV). (CVE-2020-7069)
PHP 7.2.33
Released 06 Aug, 2020
core
  • Fixed bug #79877 (getimagesize function silently truncates after a null byte)
phar
  • Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)
PHP 7.2.32
Released 09 Jul, 2020
core
  • No source changes to this release. Vesion number added for reproduction of Windows builds.
PHP 7.2.31
Released 14 May, 2020
core
  • Fixed bug #78875 (Long filenames 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)
PHP 7.2.30
Released 16 Apr, 2020
standard
  • Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter appended).
  • Fixed bug #79330 (shell_exec() silently truncates after a null byte).
  • Fixed bug #79465 (OOB Read in urldecode()).
PHP 7.2.29
Released 19 Mar, 2020
exif
  • Fixed bug #79282 (Use-of-uninitialized-value in exif). (CVE-2020-7064)
standard
  • Fixed bug #79329 (get_headers() silently truncates after a null byte) (CVE-2020-7066).
PHP 7.2.28
Released 20 Feb, 2020
dom
  • Fixed bug #77569: (Write Access Violation in DomImplementation).
phar
  • Fixed bug #79082 (Files added to tar with Phar::buildFromIterator have all-access permissions). (CVE-2020-7063)
session
  • Fixed bug #79221 (Null Pointer Dereference in PHP Session Upload Progress). (CVE-2020-7062)
PHP 7.2.27
Released 23 Jan, 2020
mbstring
  • Fixed bug #79037 (global buffer-overflow in `mbfl_filt_conv_big5_wchar`). (CVE-2020-7060)
session
  • Fixed bug #79091 (heap use-after-free in session_create_id()).
standard
  • Fixed bug #79099 (OOB read in php_strip_tags_ex). (CVE-2020-7059).
PHP 7.2.26
Released 18 Dec, 2019
bcmath
  • Fixed bug #78878 (Buffer underflow in bc_shift_addsub). (CVE-2019-11046).
core
  • Fixed bug #78862 (link() silently truncates after a null byte on Windows). (CVE-2019-11044).
  • Fixed bug #78863 (DirectoryIterator class silently truncates after a null byte). (CVE-2019-11045).
exif
  • Fixed bug #78793 (Use-after-free in exif parsing under memory sanitizer). (CVE-2019-11050).
  • Fixed bug #78910 (Heap-buffer-overflow READ in exif). (CVE-2019-11047).
gd
  • Fixed bug #78849 (GD build broken with -D SIGNED_COMPARE_SLOW).
intl
  • Fixed bug #78804 (Segmentation fault in Locale::filterMatches).
opcache
  • Fixed $x = (bool)$x; with opcache (should emit undeclared variable notice).
standard
  • Fixed bug #78759 (array_search in $GLOBALS).
  • Fixed bug #78833 (Integer overflow in pack causes out-of-bound access).
  • Fixed bug #78814 (strip_tags allows / in tag name => whitelist bypass).
PHP 7.2.25
Released 21 Nov, 2019
core
  • Fixed bug #78656 (Parse errors classified as highest log-level).
  • Fixed bug #78752 (Segfault if GC triggered while generator stack frame is being destroyed).
  • Fixed bug #78689 (Closure::fromCallable() doesn't handle [Closure, '__invoke']).
com
  • Fixed bug #78694 (Appending to a variant array causes segfault).
date
  • Fixed bug #70153 (\DateInterval incorrectly unserialized).
  • Fixed bug #78751 (Serialising DatePeriod converts DateTimeImmutable).
iconv
  • Fixed bug #78642 (Wrong libiconv version displayed). .
opcache
  • Fixed bug #78654 (Incorrectly computed opcache checksum on files with non-ascii characters).
  • Fixed bug #78747 (OpCache corrupts custom extension result).
openssl
  • Fixed bug #78775 (TLS issues from HTTP request affecting other encrypted connections).
reflection
  • Fixed bug #78697 (ReflectionClass::ImplementsInterface - inaccurate error message with traits).
sockets
  • Fixed bug #78665 (Multicasting may leak memory).
PHP 7.2.24
Released 24 Oct, 2019
core
  • Fixed bug #78535 (auto_detect_line_endings value not parsed as bool).
  • Fixed bug #78620 (Out of memory error).
exif
  • Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
fpm
  • Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE). (CVE-2019-11043)
mbstring
  • Fixed bug #78579 (mb_decode_numericentity: args number inconsistency).
  • Fixed bug #78609 (mb_check_encoding() no longer supports stringable objects).
mysqli
  • Fixed bug #76809 (SSL settings aren't respected when persistent connections are used).
pdo_mysql
  • Fixed bug #78623 (Regression caused by "SP call yields additional empty result set").
session
  • Fixed bug #78624 (session_gc return value for user defined session handlers).
standard
  • Fixed bug #76342 (file_get_contents waits twice specified timeout).
  • Fixed bug #78612 (strtr leaks memory when integer keys are used and the subject string shorter).
  • Fixed bug #76859 (stream_get_line skips data if used with data-generating filter).
zip
  • Fixed bug #78641 (addGlob can modify given remove_path value).
PHP 7.2.23
Released 26 Sep, 2019
core
  • Fixed bug #78220 (Can't access OneDrive folder).
  • Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC child).
fastcgi
  • Fixed bug #78469 (FastCGI on_accept hook is not called when using named pipes on Windows).
mysqlnd
  • Fixed connect_attr issues and added the _server_host connection attribute.
odbc
  • Fixed bug #78473 (odbc_close() closes arbitrary resources).
pdo_mysql
  • Fixed bug #41997 (SP call yields additional empty result set).
sodium
  • Fixed bug #78510 (Partially uninitialized buffer returned by sodium_crypto_generichash_init()).
spl
  • Fixed bug #72884 (SplObject isCloneable() returns true but errs on clone).
PHP 7.2.22
Released 29 Aug, 2019
core
  • Fixed bug #78363 (Buffer overflow in zendparse).
  • Fixed bug #78379 (Cast to object confuses GC, causes crash).
curl
  • Fixed bug #77946 (Bad cURL resources returned by curl_multi_info_read()).
exif
  • Fixed bug #78333 (Exif crash (bus error) due to wrong alignment and invalid cast).
iconv
  • Fixed bug #78342 (Bus error in configure test for iconv //IGNORE).
litespeed
  • Updated to LiteSpeed SAPI V7.5 (Fixed clean shutdown).
mysqlnd
  • Fixed bug #78179 (MariaDB server version incorrectly detected).
opcache
  • Fixed bug #77191 (Assertion failure in dce_live_ranges() when silencing is used).
standard
  • Fixed bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream) with invalid length).
  • Fixed bug #78282 (atime and mtime mismatch).
  • Fixed bug #78326 (improper memory deallocation on stream_get_contents() with fixed length buffer).
PHP 7.2.21
Released 01 Aug, 2019
date
  • Fixed bug #69044 (discrepency between time and microtime).
exif
  • Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). (CVE-2019-11042)
  • Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). (CVE-2019-11041)
fileinfo
  • Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).
ftp
  • Fixed bug #77124 (FTP with SSL memory leak).
libxml
  • Fixed bug #78279 (libxml_disable_entity_loader settings is shared between requests (cgi-fcgi)).
litespeed
  • Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 100 to 1000, added crash handler to cleanly shutdown PHP request, added CloudLinux mod_lsapi mode).
  • Fixed bug #76058 (After "POST data can't be buffered", using php://input makes huge tmp files).
openssl
  • Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported socket-to-stream).
opcache
  • Fixed bug #78189 (file cache strips last character of uname hash).
  • Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM).
  • Fixed bug #78291 (opcache_get_configuration doesn't list all directives).
phar
  • Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN).
phpdbg
  • Fixed bug #78297 (Include unexistent file memory leak).
pdo_sqlite
  • Fixed bug #78192 (SegFault when reuse statement after schema has changed).
sqlite
  • Upgraded to SQLite 3.28.0.
standard
  • Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit).
  • Fixed bug #78269 (password_hash uses weak options for argon2).
xmlrpc
  • Fixed bug #78173 (XML-RPC mutates immutable objects during encoding).
PHP 7.2.20
Released 04 Jul, 2019
core
  • Fixed bug #76980 (Interface gets skipped if autoloader throws an exception).
dom
  • Fixed bug #78025 (segfault when accessing properties of DOMDocumentType).
mysqli
  • Fixed bug #77956 (When mysqli.allow_local_infile = Off, use a meaningful error message).
  • Fixed bug #38546 (bindParam incorrect processing of bool types).
opcache
  • Fixed bug #78106 (Path resolution fails if opcache disabled during request).
  • Fixed bug #78185 (File cache no longer works).
openssl
  • Fixed bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c).
sockets
  • Fixed bug #78038 (Socket_select fails when resource array contains references).
standard
  • Fixed bug #77135 (Extract with EXTR_SKIP should skip $this).
  • Fixed bug ##77937 (preg_match failed).
zip
  • Fixed bug #76345 (zip.h not found).
PHP 7.2.19
Released 30 May, 2019
date
  • Fixed bug #77909 (DatePeriod::__construct() with invalid recurrence count value).
exif
  • Fixed bug #77988 (heap-buffer-overflow on php_jpg_get16). (CVE-2019-11040)
fpm
  • Fixed bug #77934 (php-fpm kill -USR2 not working).
  • Fixed bug #77921 (static.php.net doesn't work anymore).
gd
  • Fixed bug #77943 (imageantialias($image, false); does not work).
  • Fixed bug #77973 (Uninitialized read in gdImageCreateFromXbm). (CVE-2019-11038)
iconv
  • Fixed bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow). (CVE-2019-11039).
json
  • Fixed bug #77843 (Use after free with json serializer).
opcache
  • Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset.
pdo_mysql
  • Fixed bug #77944 (Wrong meta pdo_type for bigint on LLP64).
reflection
  • Fixed bug #75186 (Inconsistent reflection of Closure:::__invoke()).
session
  • Fixed bug #77911 (Wrong warning for session.sid_bits_per_character).
spl
  • Fixed bug #77024 (SplFileObject::__toString() may return array).
sqlite
  • Fixed bug #77967 (Bypassing open_basedir restrictions via file uris).
PHP 7.2.18
Released 30 May, 2019
cli
  • Fixed bug #77794 (Incorrect Date header format in built-in server).
  • EXIF
  • Fixed bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG). (CVE-2019-11036)
interbase
  • Fixed bug #72175 (Impossibility of creating multiple connections to Interbase with php 7.x).
intl
  • Fixed bug #77895 (IntlDateFormatter::create fails in strict mode if $locale = null).
litespeed
  • LiteSpeed SAPI 7.3.1, better process management, new API function litespeed_finish_request().
  • Mail
  • Fixed bug #77821 (Potential heap corruption in TSendMail()).
pcre
  • Fixed bug #77827 (preg_match does not ignore \r in regex flags).
pdo
  • Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
phpdbg
  • Fixed bug #76801 (too many open files).
  • Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
  • Fixed bug #77805 (phpdbg build fails when readline is shared).
reflection
  • Fixed bug #77772 (ReflectionClass::getMethods(null) doesn't work).
  • Fixed bug #77882 (Different behavior: always calls destructor).
soap
  • Fixed bug #77945 (Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH).
standard
  • Fixed bug #77680 (recursive mkdir on ftp stream wrapper is incorrect).
  • Fixed bug #77844 (Crash due to null pointer in parse_ini_string with INI_SCANNER_TYPED).
  • Fixed bug #77853 (Inconsistent substr_compare behaviour with empty haystack).
PHP 7.2.17
Released 02 May, 2019
core
  • Fixed bug #77738 (Nullptr deref in zend_compile_expr).
  • Fixed bug #77660 (Segmentation fault on break 2147483648).
  • Fixed bug #77652 (Anonymous classes can lose their interface information).
  • Fixed bug #77676 (Unable to run tests when building shared extension on AIX).
bcmath
  • Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
com
  • Fixed bug #77578 (Crash when php unload).
date
  • Fixed bug #50020 (DateInterval:createDateFromString() silently fails).
  • Fixed bug #75113 (Added DatePeriod::getRecurrences() method).
exif
  • Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s). (CVE-2019-11034)
  • Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value). (CVE-2019-11035)
fpm
  • Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
gd
  • Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
mysqli
  • Fixed bug #77597 (mysqli_fetch_field hangs scripts).
opcache
  • Fixed bug #77691 (Opcache passes wrong value for inline array push assignments).
  • Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
phpdbg
  • Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
sodium
  • Fixed bug #77646 (sign_detached() strings not terminated).
sqlite3
  • Added sqlite3.defensive INI directive.
standard
  • Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
  • Fixed bug #77669 (Crash in extract() when overwriting extracted array).
  • Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
  • Fixed bug #77765 (FTP stream wrapper should set the directory as executable).
PHP 7.2.16
Released 04 Apr, 2019
core
  • Fixed bug #77589 (Core dump using parse_ini_string with numeric sections).
  • Fixed bug #77630 (rename() across the device may allow unwanted access during processing).
com
  • Fixed bug #77621 (Already defined constants are not properly reported).
exif
  • Fixed bug #77509 (Uninitialized read in exif_process_IFD_in_TIFF).
  • Fixed bug #77540 (Invalid Read on exif_process_SOFn).
  • Fixed bug #77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
  • Fixed bug #77659 (Uninitialized read in exif_process_IFD_in_MAKERNOTE).
pdo_oci
  • Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.
phar
  • Fixed bug #77396 (Null Pointer Dereference in phar_create_or_parse_filename).
spl
  • Fixed bug #51068 (DirectoryIterator glob:// don't support current path relative queries).
  • Fixed bug #77431 (openFile() silently truncates after a null byte).
standard
  • Fixed bug #77552 (Unintialized php_stream_statbuf in stat functions).
  • MySQL
  • Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.
PHP 7.2.15
Released 07 Mar, 2019
core
  • Fixed bug #77339 (__callStatic may get incorrect arguments).
  • Fixed bug #77494 (Disabling class causes segfault on member access).
  • Fixed bug #77530 (PHP crashes when parsing `(2)::class`).
curl
  • Fixed bug #76675 (Segfault with H2 server push).
gd
  • Fixed bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border).
  • Fixed bug #73614 (gdImageFilledArc() doesn't properly draw pies).
  • Fixed bug #77272 (imagescale() may return image resource on failure).
  • Fixed bug #77391 (1bpp BMPs may fail to be loaded).
  • Fixed bug #77479 (imagewbmp() segfaults with very large images).
ldap
  • Fixed bug #77440 (ldap_bind using ldaps or ldap_start_tls()=exception in libcrypto-1_1-x64.dll).
mbstring
  • Fixed bug #77454 (mb_scrub() silently truncates after a null byte).
mysqlnd
  • Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has no external visibility).
opcache
  • Fixed bug #77361 (configure fails on 64-bit AIX when opcache enabled).
openssl
  • Fixed bug #77390 (feof might hang on TLS streams in case of fragmented TLS records).
pdo
  • Fixed bug #77273 (array_walk_recursive corrupts value types leading to PDO failure).
phpdbg
  • Fixed bug #76596 (phpdbg support for display_errors=stderr).
sockets
  • Fixed bug #76839 (socket_recvfrom may return an invalid 'from' address on MacOS).
standard
  • Fixed bug #77395 (segfault about array_multisort).
  • Fixed bug #77439 (parse_str segfaults when inserting item into existing array).
PHP 7.2.14
Released 07 Feb, 2019
core
  • Fixed bug #77369 (memcpy with negative length via crafted DNS response).
  • Fixed bug #71041 (zend_signal_startup() needs ZEND_API).
  • Fixed bug #76046 (PHP generates "FE_FREE" opcode on the wrong line).
com
  • Fixed bug #77177 (Serializing or unserializing COM objects crashes).
date
  • Fixed bug #77097 (DateTime::diff gives wrong diff when the actual diff is less than 1 second).
exif
  • Fixed bug #77184 (Unsigned rational numbers are written out as signed rationals).
gd
  • Fixed bug #77269 (efree() on uninitialized Heap data in imagescale leads to use-after-free).
  • Fixed bug #77270 (imagecolormatch Out Of Bounds Write on Heap).
  • Fixed bug #77195 (Incorrect error handling of imagecreatefromjpeg()).
  • Fixed bug #77198 (auto cropping has insufficient precision).
  • Fixed bug #77200 (imagecropauto(…, GD_CROP_SIDES) crops left but not right).
imap
  • Fixed bug #77020 (null pointer dereference in imap_mail).
mbstring
  • Fixed bug #77370 (Buffer overflow on mb regex functions - fetch_token).
  • Fixed bug #77371 (heap buffer overflow in mb regex functions
  • compile_string_node).
  • Fixed bug #77381 (heap buffer overflow in multibyte match_at).
  • Fixed bug #77382 (heap buffer overflow due to incorrect length in expand_case_fold_string).
  • Fixed bug #77385 (buffer overflow in fetch_token).
  • Fixed bug #77394 (Buffer overflow in multibyte case folding - unicode).
  • Fixed bug #77418 (Heap overflow in utf32be_mbc_to_code).
oci8
  • Fixed bug #76804 (oci_pconnect with OCI_CRED_EXT not working).
  • Added oci_set_call_timeout() for call timeouts.
  • Added oci_set_db_operation() for the DBOP end-to-end-tracing attribute.
opcache
  • Fixed bug #77215 (CFG assertion failure on multiple finalizing switch frees in one block).
pdo
  • Handle invalid index passed to PDOStatement::fetchColumn() as error.
phar
  • Fixed bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext).
sockets
  • Fixed bug #77136 (Unsupported IPV6_RECVPKTINFO constants on macOS).
sqlite3
  • Fixed bug #77051 (Issue with re-binding on SQLite3).
xmlrpc
  • Fixed bug #77242 (heap out of bounds read in xmlrpc_decode()).
  • Fixed bug #77380 (Global out of bounds read in xmlrpc base64 code).
PHP 7.2.13
Released 06 Dec, 2018
ftp
  • Fixed bug #77151 (ftp_close(): SSL_read on shutdown).
cli
  • Fixed bug #77111 (php-win.exe corrupts unicode symbols from cli parameters).
fileinfo
  • Fixed bug #77095 (slowness regression in 7.2/7.3 (compared to 7.1)).
iconv
  • Fixed bug #77147 (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR).
imap
  • Fixed bug #77153 (imap_open allows to run arbitrary shell commands via mailbox parameter).
odbc
  • Fixed bug #77079 (odbc_fetch_object has incorrect type signature).
opcache
  • Fixed bug #77058 (Type inference in opcache causes side effects).
  • Fixed bug #77092 (array_diff_key() - segmentation fault).
pgsql
  • Fixed bug #77047 (pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type).
soap
  • Fixed bug #50675 (SoapClient can't handle object references correctly).
  • Fixed bug #76348 (WSDL_CACHE_MEMORY causes Segmentation fault).
  • Fixed bug #77141 (Signedness issue in SOAP when precision=-1).
sockets
  • Fixed bug #67619 (Validate length on socket_write).
PHP 7.2.12
Released 08 Nov, 2018
core
  • Fixed bug #76846 (Segfault in shutdown function after memory limit error).
  • Fixed bug #76946 (Cyclic reference in generator not detected).
  • Fixed bug #77035 (The phpize and ./configure create redundant .deps file).
  • Fixed bug #77041 (buildconf should output error messages to stderr)
date
  • Upgraded timelib to 2017.08.
  • Fixed bug #75851 (Year component overflow with date formats "c", "o", "r" and "y").
  • Fixed bug #77007 (fractions in `diff()` are not correctly normalized).
fcgi
  • Fixed #76948 (Failed shutdown/reboot or end session in Windows).
  • Fixed bug #76954 (apache_response_headers removes last character from header name).
ftp
  • Fixed bug #76972 (Data truncation due to forceful ssl socket shutdown).
intl
  • Fixed bug #76942 (U_ARGUMENT_TYPE_MISMATCH).
reflection
  • Fixed bug #76936 (Objects cannot access their private attributes while handling reflection errors).
  • Fixed bug #66430 (ReflectionFunction::invoke does not invoke closure with object scope).
sodium
  • Some base64 outputs were truncated; this is not the case any more.
  • block sizes >= 256 bytes are now supposed by sodium_pad() even when an old version of libsodium has been installed.
  • Fixed bug #77008 (sodium_pad() could read (but not return nor write) uninitialized memory when trying to pad an empty input).
standard
  • Fixed bug #76965 (INI_SCANNER_RAW doesn't strip trailing whitespace).
tidy
  • Fixed bug #77027 (tidy::getOptDoc() not available on Windows).
xml
  • Fixed bug #30875 (xml_parse_into_struct() does not resolve entities).
  • Add support for getting SKIP_TAGSTART and SKIP_WHITE options.
xmlrpc
  • Fixed bug #75282 (xmlrpc_encode_request() crashes).
PHP 7.2.11
Released 11 Oct, 2018
core
  • Fixed bug #76800 (foreach inconsistent if array modified during loop).
  • Fixed bug #76901 (method_exists on SPL iterator passthrough method corrupts memory).
curl
  • Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
iconv
  • Fixed bug #66828 (iconv_mime_encode Q-encoding longer than it should be).
opcache
  • Fixed bug #76832 (ZendOPcache.MemoryBase periodically deleted by the OS).
  • Fixed bug #76796 (Compile-time evaluation of disabled function in opcache causes segfault).
posix
  • Fixed bug #75696 (posix_getgrnam fails to print details of group).
reflection
  • Fixed bug #74454 (Wrong exception being thrown when using ReflectionMethod).
standard
  • Fixed bug #73457 (Wrong error message when fopen FTP wrapped fails to open data connection).
  • Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with stream_socket_client).
  • Fixed bug #75533 (array_reduce is slow when $carry is large array).
xmlrpc
  • Fixed bug #76886 (Can't build xmlrpc with expat).
zlib
  • Fixed bug #75273 (php_zlib_inflate_filter() may not update bytes_consumed).
PHP 7.2.10
Released 13 Sep, 2018
core
  • Fixed bug #76754 (parent private constant in extends class memory leak).
  • Fixed bug #72443 (Generate enabled extension).
  • Fixed bug #75797 (Memory leak when using class_alias() in non-debug mode).
apache2
  • Fixed bug #76582 (Apache bucket brigade sometimes becomes invalid).
bz2
  • Fixed arginfo for bzcompress.
gettext
  • Fixed bug #76517 (incorrect restoring of LDFLAGS).
iconv
  • Fixed bug #68180 (iconv_mime_decode can return extra characters in a header).
  • Fixed bug #63839 (iconv_mime_decode_headers function is skipping headers).
  • Fixed bug #60494 (iconv_mime_decode does ignore special characters).
  • Fixed bug #55146 (iconv_mime_decode_headers() skips some headers).
intl
  • Fixed bug #74484 (MessageFormatter::formatMessage memory corruption with 11+ named placeholders).
libxml
  • Fixed bug #76777 ("public id" parameter of libxml_set_external_entity_loader callback undefined).
mbstring
  • Fixed bug #76704 (mb_detect_order return value varies based on argument type).
opcache
  • Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file).
openssl
  • Fixed bug #76705 (unusable ssl => peer_fingerprint in stream_context_create()).
phpdbg
  • Fixed bug #76595 (phpdbg man page contains outdated information).
spl
  • Fixed bug #68825 (Exception in DirectoryIterator::getLinkTarget()).
  • Fixed bug #68175 (RegexIterator pregFlags are NULL instead of 0).
standard
  • Fixed bug #76778 (array_reduce leaks memory if callback throws exception).
zlib
  • Fixed bug #65988 (Zlib version check fails when an include/zlib/ style dir is passed to the --with-zlib configure option).
  • Fixed bug #76709 (Minimal required zlib library is 1.2.0.4).
PHP 7.2.9
Released 16 Aug, 2018
calendar
  • Fixed bug #52974 (jewish.c: compile error under Windows with GBK charset).
filter
  • Fixed bug #76366 (References in sub-array for filtering breaks the filter).
pdo_firebird
  • Fixed bug #76488 (Memory leak when fetching a BLOB field).
pdo_pgsql
  • Fixed bug #75402 (Possible Memory Leak using PDO::CURSOR_SCROLL option).
sqlite3
  • Fixed #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle).
standard
  • Fixed bug #73817 (Incorrect entries in get_html_translation_table).
  • Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result).
  • Fixed bug #76643 (Segmentation fault when using `output_add_rewrite_var`).
zip
  • Fixed bug #76524 (ZipArchive memory leak (OVERWRITE flag and empty archive)).
PHP 7.2.8
Released 19 Jul, 2018
core
  • Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler).
  • Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
  • Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize properly).
date
  • Fixed bug #76462 (Undefined property: DateInterval::$f).
exif
  • Fixed bug #76409 (heap use after free in _php_stream_free).
  • Fixed bug #76423 (Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c).
  • Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif data).
fpm
  • Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to non-blocking).
gmp
  • Fixed bug #74670 (Integer Underflow when unserializing GMP and possible other classes).
intl
  • Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong type).
mbstring
  • Fixed bug #76532 (Integer overflow and excessive memory usage in mb_strimwidth).
opcache
  • Fixed bug #76477 (Opcache causes empty return value).
pgsql
  • Fixed bug #76548 (pg_fetch_result did not fetch the next row).
phpdbg
  • Fix arginfo wrt. optional/required parameters.
reflection
  • Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler).
  • Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with inherited classes).
standard
  • Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
  • Fixed bug #71848 (getimagesize with $imageinfo returns false).
win32
  • Fixed bug #76459 (windows linkinfo lacks openbasedir check).
zip
  • Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM).
PHP 7.2.7
Released 21 Jun, 2018
core
  • Fixed bug #76337 (segfault when opcache enabled + extension use zend_register_class_alias).
cli server
  • Fixed bug #76333 (PHP built-in server does not find files if root path contains special characters).
openssl
  • Fixed bug #76296 (openssl_pkey_get_public does not respect open_basedir).
  • Fixed bug #76174 (openssl extension fails to build with LibreSSL 2.7).
spl
  • Fixed bug #76367 (NoRewindIterator segfault 11).
standard
  • Fixed bug #76410 (SIGV in zend_mm_alloc_small).
  • Fixed bug #76335 ("link(): Bad file descriptor" with non-ASCII path).
PHP 7.2.6
Released 24 May, 2018
exif
  • Fixed bug #76164 (exif_read_data zend_mm_heap corrupted).
fpm
  • Fixed bug #76075 --with-fpm-acl wrongly tries to find libacl on FreeBSD.
intl
  • Fixed bug #74385 (Locale::parseLocale() broken with some arguments).
opcache
  • Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).
  • Fixed bug #76275 (Assertion failure in file cache when unserializing empty try_catch_array).
  • Fixed bug #76281 (Opcache causes incorrect "undefined variable" errors).
reflection
  • Fixed arginfo of array_replace(_recursive) and array_merge(_recursive).
session
  • Fixed bug #74892 (Url Rewriting (trans_sid) not working on urls that start with "#").
PHP 7.2.5
Released 26 Apr, 2018
core
  • Fixed bug #75722 (Convert valgrind detection to configure option).
date
  • Fixed bug #76131 (mismatch arginfo for date_create).
exif
  • Fixed bug #76130 (Heap Buffer Overflow (READ: 1786) in exif_iif_add_value).
fpm
  • Fixed bug #68440 (ERROR: failed to reload: execvp() failed: Argument list too long).
  • Fixed incorrect write to getenv result in FPM reload.
gd
  • Fixed bug #52070 (imagedashedline() - dashed line sometimes is not visible).
iconv
  • Fixed bug #76249 (stream filter convert.iconv leads to infinite loop on invalid sequence).
intl
  • Fixed bug #76153 (Intl compilation fails with icu4c 61.1).
ldap
  • Fixed bug #76248 (Malicious LDAP-Server Response causes Crash).
mbstring
  • Fixed bug #75944 (Wrong cp1251 detection).
  • Fixed bug #76113 (mbstring does not build with Oniguruma 6.8.1).
odbc
  • Fixed bug #76088 (ODBC functions are not available by default on Windows).
opcache
  • Fixed bug #76094 (Access violation when using opcache).
phar
  • Fixed bug #76129 (fix for CVE-2018-5712 may not be complete).
phpdbg
  • Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite).
spl
  • Fixed bug #76131 (mismatch arginfo for splarray constructor).
standard
  • Fixed bug #74139 (mail.add_x_header default inconsistent with docs).
  • Fixed bug #75996 (incorrect url in header for mt_rand).
PHP 7.2.4
Released 29 Mar, 2018
core
  • Fixed bug #76025 (Segfault while throwing exception in error_handler).
  • Fixed bug #76044 ('date: illegal option -- -' in ./configure on FreeBSD).
fpm
  • Fixed bug #75605 (Dumpable FPM child processes allow bypassing opcache access controls).
ftp
  • Fixed ftp_pasv arginfo.
  • Fixed bug #73957 (signed integer conversion in imagescale()).
  • Fixed bug #76041 (null pointer access crashed php).
  • Fixed imagesetinterpolation arginfo.
iconv
  • Fixed bug #75867 (Freeing uninitialized pointer).
mbstring
  • Fixed bug #62545 (wrong unicode mapping in some charsets).
opcache
  • Fixed bug #75969 (Assertion failure in live range DCE due to block pass misoptimization).
openssl
  • Fixed openssl_* arginfos.
pcntl
  • Fixed bug #75873 (pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)).
phar
  • Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n).
standard
  • Fixed bug #75961 (Strange references behavior).
  • Fixed some arginfos.
  • Fixed bug #76068 (parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault).
PHP 7.2.3
Released 01 Mar, 2018
core
  • Fixed bug #75864 ("stream_isatty" returns wrong value on s390x).
apache2handler
  • Fixed bug #75882 (a simple way for segfaults in threadsafe php just with configuration).
date
  • Fixed bug #75857 (Timezone gets truncated when formatted).
  • Fixed bug #75928 (Argument 2 for `DateTimeZone::listIdentifiers()` should accept `null`).
  • Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it).
ldap
  • Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros).
libxml2
  • Fixed bug #75871 (use pkg-config where available).
pgsql
  • Fixed bug #75838 (Memory leak in pg_escape_bytea()).
phar
  • Fixed bug #54289 (Phar::extractTo() does not accept specific directories to be extracted).
  • Fixed bug #65414 (deal with leading slash while adding files correctly).
  • Fixed bug #65414 (deal with leading slash when adding files correctly).
odbc
  • Fixed bug #73725 (Unable to retrieve value of varchar(max) type).
opcache
  • Fixed bug #75729 (opcache segfault when installing Bitrix).
  • Fixed bug #75893 (file_get_contents $http_response_header variable bugged with opcache).
  • Fixed bug #75938 (Modulus value not stored in variable).
spl
  • Fixed bug #74519 (strange behavior of AppendIterator).
standard
  • Fixed bug #75916 (DNS_CAA record results contain garbage).
  • Fixed bug #75981 (Prevent reading beyond buffer start in http wrapper).
PHP 7.2.2
Released 01 Feb, 2018
core
  • Fixed bug #75742 (potential memleak in internal classes's static members).
  • Fixed bug #75679 (Path 260 character problem).
  • Fixed bug #75614 (Some non-portable == in shell scripts).
  • Fixed bug #75786 (segfault when using spread operator on generator passed by reference).
  • Fixed bug #75799 (arg of get_defined_functions is optional).
  • Fixed bug #75396 (Exit inside generator finally results in fatal error).
fcgi
  • Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false).
imap
  • Fixed bug #75774 (imap_append HeapCorruction).
opcache
  • Fixed bug #75720 (File cache not populated after SHM runs full).
  • Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
  • Fixed bug #75698 (Using @ crashes php7.2-fpm).
  • Fixed bug #75579 (Interned strings buffer overflow may cause crash).
pdo
  • Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin).
pdo mysql
  • Fixed bug #75615 (PDO Mysql module can't be built as module).
pgsql
  • Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach).
readline
  • Fixed bug #75775 (readline_read_history segfaults with empty file).
sapi
  • Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry).
soap
  • Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used).
  • Fixed bug #75502 (Segmentation fault in zend_string_release).
spl
  • Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference).
  • Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class).
  • Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties).
standard
  • Fixed bug #75781 (substr_count incorrect result).
  • Fixed bug #75653 (array_values don't work on empty array).
zip
  • Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1).
PHP 7.2.1
Released 04 Jan, 2018
core
  • Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26).
  • Fixed bug #75384 (PHP seems incompatible with OneDrive files on demand).
  • Fixed bug #75525 (Access Violation in vcruntime140.dll).
  • Fixed bug #74862 (Unable to clone instance when private __clone defined).
  • Fixed bug #75074 (php-process crash when is_file() is used with strings longer 260 chars).
  • Fixed bug #69727 (Remove timestamps from build to make it reproducible).
cli server
  • Fixed bug #73830 (Directory does not exist).
fpm
  • Fixed bug #64938 (libxml_disable_entity_loader setting is shared between requests).
gd
  • Fixed bug #75571 (Potential infinite loop in gdImageCreateFromGifCtx).
opcache
  • Fixed bug #75608 ("Narrowing occurred during type inference" error).
  • Fixed bug #75579 (Interned strings buffer overflow may cause crash).
  • Fixed bug #75570 ("Narrowing occurred during type inference" error).
  • Fixed bug #75681 (Warning: Narrowing occurred during type inference, specific case).
  • Fixed bug #75556 (Invalid opcode 138/1/1).
pcre
  • Fixed bug #74183 (preg_last_error not returning error code after error).
phar
  • Fixed bug #74782 (remove file name from output to avoid XSS).
standard
  • Fixed bug #75511 (fread not free unused buffer).
  • Fixed bug #75514 (mt_rand returns value outside [$min,$max]+ on 32-bit)
  • Fixed bug #75535 (Inappropriately parsing HTTP response leads to PHP segment fault).
  • Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator that getrandom() is missing).
  • Fixed bug #73124 (php_ini_scanned_files() not reporting correctly).
  • Fixed bug #75574 (putenv does not work properly if parameter contains non-ASCII unicode character).
zip
  • Fixed bug #75540 (Segfault with libzip 1.3.1).
PHP 7.2.0
Released 30 Nov, 2017
bcmath
  • Fixed bug #46564 (bcmod truncates fractionals).
cli
  • Fixed bug #74849 (Process is started as interactive shell in PhpStorm).
  • Fixed bug #74979 (Interactive shell opening instead of script execution with -f flag).
cli server
  • Fixed bug #60471 (Random "Invalid request (unexpected EOF)" using a router script).
core
  • Added ZEND_COUNT, ZEND_GET_CLASS, ZEND_GET_CALLED_CLASS, ZEND_GET_TYPE, ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement corresponding builtin functions.
  • "Countable" interface is moved from SPL to Core.
  • Added ZEND_IN_ARRAY instruction, implementing optimized in_array() builtin function, through hash lookup in flipped array.
  • Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUNTED).
  • Removed the sql.safe_mode directive.
  • Removed support for Netware.
  • Renamed ReflectionClass::isIterateable() to ReflectionClass::isIterable() (alias original name for BC).
  • Fixed bug #54535 (WSA cleanup executes before MSHUTDOWN).
  • Implemented FR #69791 (Disallow mail header injections by extra headers)
  • Implemented FR #49806 (proc_nice() for Windows).
  • Fix pthreads detection when cross-compiling
  • Fixed memory leaks caused by exceptions thrown from destructors. .
  • Fixed bug #73215 (uniqid() should use better random source).
  • Implemented FR #72768 (Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for php.exe).
  • Implemented "Convert numeric keys in object/array casts" RFC, fixes bugs #53838, #61655, #66173, #70925, #72254, etc.
  • Implemented "Deprecate and Remove Bareword (Unquoted) Strings" RFC.
  • Raised minimum supported Windows versions to Windows 7/Server 2008 R2.
  • Implemented minor optimization in array_keys/array_values().
  • Added PHP_OS_FAMILY constant to determine on which OS we are.
  • Fixed bug #73987 (Method compatibility check looks to original definition and not parent).
  • Fixed bug #73991 (JSON_OBJECT_AS_ARRAY not respected).
  • Fixed bug #74053 (Corrupted class entries on shutdown when a destructor spawns another object).
  • Fixed bug #73971 (Filename got limited to MAX_PATH on Win32 when scan directory).
  • Fixed bug #72359, bug #72451, bug #73706, bug #71115 and others related to interned strings handling in TS builds.
  • Implemented "Trailing Commas In List Syntax" RFC for group use lists only.
  • Fixed bug #74269 (It's possible to override trait property with different loosely-equal value).
  • Fixed bug #61970 (Restraining __construct() access level in subclass gives a fatal error).
  • Fixed bug #63384 (Cannot override an abstract method with an abstract method).
  • Fixed bug #74607 (Traits enforce different inheritance rules).
  • Fixed misparsing of abstract unix domain socket names.
  • Change PHP_OS_FAMILY value from "OSX" to "Darwin".
  • Allow loading PHP/Zend extensions by name in ini files (extension=<name>).
  • Added object type annotation.
  • Fixed bug #74815 (crash with a combination of INI entries at startup).
  • Fixed bug #74836 (isset on zero-prefixed numeric indexes in array broken).
  • Added new VM instuctions ISSET_ISEMPTY_CV and UNSET_CV. Previously they were implemented as ISSET_ISEMPTY_VAR and UNSET_VAR variants with ZEND_QUICK_SET flag.
  • Fixed bug #49649 (unserialize() doesn't handle changes in property visibility).
  • Fixed #74866 (extension_dir = "./ext" now use current directory for base).
  • Implemented FR #74963 (Improved error message on fetching property of non-object).
  • Fixed Bug #75142 (buildcheck.sh check for autoconf version needs to be updated for v2.64).
  • Fixed bug #74878 (Data race in ZTS builds).
  • Fixed bug #75515 ("stream_copy_to_stream" doesn't stream anymore).
curl
  • Fixed bug #75093 (OpenSSL support not detected).
  • Better fix for #74125 (use pkg-config instead of curl-config).
date
  • Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat).
  • Implemented FR #71520 (Adding the DateTime constants to the DateTimeInterface interface).
  • Fixed bug #75149 (redefinition of typedefs ttinfo and t1info).
  • Fixed bug #75222 (DateInterval microseconds property always 0).
dba
  • Fixed bug #72885 (flatfile: dba_fetch() fails to read replaced entry).
dom
  • Implement #74837 (Implement Countable for DomNodeList and DOMNamedNodeMap).
exif
  • Added support for vendor specific tags for the following formats: Samsung, DJI, Panasonic, Sony, Pentax, Minolta, Sigma/Foveon, AGFA, Kyocera, Ricoh & Epson.
  • Fixed bug #72682 (exif_read_data() fails to read all data for some images).
  • Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode).
  • Fixed bug #68547 (Exif Header component value check error).
  • Fixed bug #66443 (Corrupt EXIF header: maximum directory nesting level reached for some cameras).
  • Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function).
  • Implemented #65187 (exif_read_data/thumbnail: add support for stream resource).
  • Deprecated the read_exif_data() alias.
  • Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with correct exif format).
  • Fixed bug #72819 (EXIF thumbnails not read anymore).
  • Fixed bug #62523 (php crashes with segfault when exif_read_data called).
  • Fixed bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers).
fileinfo
  • Upgrade bundled libmagic to 5.31.
fpm
  • Configuration to limit fpm slow log trace callers.
  • Fixed bug #75212 (php_value acts like php_admin_value).
ftp
  • Implement MLSD for structured listing of directories.
  • Added ftp_append() function.
gd
  • Implemented imageresolution as getter and setter
  • Fixed bug #74744 (gd.h: stdarg.h include missing for va_list use in gdErrorMethod).
  • Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image).
gmp
  • Fixed bug #70896 (gmp_fact() silently ignores non-integer input).
hash
  • Changed HashContext from resource to object.
  • Disallowed usage of non-cryptographic hash functions with HMAC and PBKDF2.
  • Fixed Bug #75284 (sha3 is not supported on bigendian machine).
imap
  • Fixed bug #72324 (imap_mailboxmsginfo() return wrong size).
intl
  • Fixed bug #63790 (test using Spoofchecker which may be unavailable).
  • Fixed bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument).
json
  • Add JSON_INVALID_UTF8_IGNORE and JSON_INVALID_UTF8_SUBSTITUTE options for json_encode and json_decode to ignore or replace invalid UTF-8 byte sequences - it addresses request #65082.
  • Fixed bug #75185 (Buffer overflow in json_decode() with JSON_INVALID_UTF8_IGNORE or JSON_INVALID).
  • Fixed bug #68567 (JSON_PARTIAL_OUTPUT_ON_ERROR can result in JSON with null key).
ldap
  • Implemented FR #69445
  • Fixed support for LDAP_OPT_SERVER_CONTROLS and LDAP_OPT_CLIENT_CONTROLS in ldap_get_option
  • Fixed passing an empty array to ldap_set_option for client or server controls.
mbstring
  • Implemented request #66024 (mb_chr() and mb_ord()).
  • Implemented request #65081 (mb_scrub()).
  • Implemented request #69086 (enhancement for mb_convert_encoding() that handles multibyte replacement char nicely).
  • Added array input support to mb_convert_encoding().
  • Added array input support to mb_check_encoding().
  • Fixed bug #69079 (enhancement for mb_substitute_character).
  • Update to oniguruma version 6.3.0.
  • Fixed bug #69267 (mb_strtolower fails on titlecase characters).
mcrypt
  • The deprecated mcrypt extension has been moved to PECL.
opcache
  • Added global optimisation passes based on data flow analysis using Single Static Assignment (SSA) form: Sparse Conditional Constant Propagation (SCCP), Dead Code Elimination (DCE), and removal of unused local variables
  • Fixed incorect constant conditional jump elimination.
  • Fixed bug #75230 (Invalid opcode 49/1/8 using opcache).
  • Fixed bug (assertion fails with extended info generated).
  • Fixed bug (Phi sources removel).
  • Fixed bug #75370 (Webserver hangs on valid PHP text).
  • Fixed bug #75357 (segfault loading WordPress wp-admin).
openssl
  • Use TLS_ANY for default ssl:// and tls:// negotiation.
  • Fix leak in openssl_spki_new().
  • Added openssl_pkcs7_read() and pk7 parameter to openssl_pkcs7_verify().
  • Add ssl security_level stream option to support OpenSSL security levels. .
  • Allow setting SNI cert and private key in separate files.
  • Fixed bug #74903 (openssl_pkcs7_encrypt() uses different EOL than before).
  • Automatically load OpenSSL configuration file.
pcre
  • Added support for PCRE JIT fast path API.
  • Fixed bug #61780 (Inconsistent PCRE captures in match results).
  • Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
  • Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string).
  • Fixed bug #75223 (PCRE JIT broken in 7.2).
  • Fixed bug #75285 (Broken build when system libpcre don't have jit support).
phar
  • Fixed bug #74196 (phar does not correctly handle names containing dots).
pdo
  • Add "Sent SQL" to debug dump for emulated prepares.
  • Add parameter types for national character set strings.
pdo_dblib
  • Fixed bug #73234 (Emulated statements let value dictate parameter type).
  • Fixed bug #73396 (bigint columns are returned as strings).
  • Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO instance.
  • Add test coverage for bug #72969.
pdo_oci
  • Fixed Bug #74537 (Align --with-pdo-oci configure option with --with-oci8 syntax).
  • PDO_Sqlite
  • Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions
  • PHPDBG
  • Added extended_value to opcode dump output.
session
  • Fixed bug #73461 (Prohibit session save handler recursion).
  • PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name.
  • Improved bug #73100 fix. 'user' save handler can only be set by session_set_save_handler()
  • Fixed bug #74514 (5 session functions incorrectly warn when calling in read-only/getter mode).
  • Fixed bug #74936 (session_cache_expire/cache_limiter/save_path() trigger a warning in read mode).
  • Fixed bug #74941 (session fails to start after having headers sent).
sodium
  • New cryptographic extension
  • Added missing bindings for libsodium > 1.0.13.
spl
  • Fixed bug #71412 (Incorrect arginfo for ArrayIterator::__construct).
  • Added spl_object_id().
sqlite3
  • Implement writing to blobs.
  • Update to Sqlite 3.20.1.
standard
  • Fixed bug #69442 (closing of fd incorrect when PTS enabled).
  • Fixed bug #74300 (unserialize accepts two plus/minus signs for float number exponent part).
  • Compatibility with libargon2 versions 20161029 and 20160821.
  • Fixed Bug #74737 (mysqli_get_client_info reflection info).
  • Add support for extension name as argument to dl().
  • Fixed bug #74851 (uniqid() without more_entropy performs badly).
  • Fixed bug #74103 (heap-use-after-free when unserializing invalid array size).
  • Fixed bug #75054 (A Denial of Service Vulnerability was found when performing deserialization).
  • Fixed bug #75170 (mt_rand() bias on 64-bit machines).
  • Fixed bug #75221 (Argon2i always throws NUL at the end).
streams
  • Default ssl/single_dh_use and ssl/honor_cipher_order to true.
xml
  • Moved utf8_encode() and utf8_decode() to the Standard extension.
xmlrpc
  • Use Zend MM for allocation in bundled libxmlrpc
zip
  • Add support for encrypted archives.
  • Use of bundled libzip is deprecated, --with-libzip option is recommended.
  • Fixed Bug #73803 (Reflection of ZipArchive does not show public properties).
  • ZipArchive implements countable, added ZipArchive::count() method.
  • Fix segfault in php_stream_context_get_option call.
  • Fixed bug #75143 (new method setEncryptionName() seems not to exist in ZipArchive).
zlib
  • Expose inflate_get_status() and inflate_get_read_len() functions.
To Top