Software 42837 Published by

The following new PHP test releases are available: PHP 7.4.0 Alpha 1, 7.3.7 RC1, and 7.2.20 RC1



PHP 7.4.0 Alpha 1
- Core:
. Fixed bug #77345 (Stack Overflow caused by circular reference in garbage
collection). (Alexandru Patranescu, Nikita, Dmitry)
. Fixed bug #77877 (call_user_func() passes $this to static methods).
(Dmitry)
. Implemented FR #76148 (Add array_key_exists() to the list of specially
compiled functions). (Majkl578)
. Fixed bug #76430 (__METHOD__ inconsistent outside of method).
(Ryan McCullagh, Nikita)
. Fixed bug #75921 (Inconsistent: No warning in some cases when stdObj is
created on the fly). (David Walker)
. Fixed bug #71030 (Self-assignment in list() may have inconsistent behavior).
(Nikita)
. Fixed bug #76451 (Aliases during inheritance type checks affected by
opcache). (Nikita)

- CLI:
. The built-in CLI server now reports the request method in log files.
(Simon Welsh)

- COM:
. Deprecated registering of case-insensitive constants from typelibs. (cmb)

- CURL:
. Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
(Pierrick)
. Implemented FR #77711 (CURLFile should support UNICODE filenames). (cmb)
. Deprecated CURLPIPE_HTTP1. (cmb)
. Deprecated $version parameter of curl_version(). (cmb)

- Date:
. Fixed bug #75232 (print_r of DateTime creating side-effect). (Nikita)

- FFI:
. Added FFI extension. (Dmitry)

-Fileinfo:
. Fixed bug #78075 (finfo_file treats JSON file as text/plain). (Anatol)

- Filter:
. The filter extension no longer have the --with-pcre-dir on Unix builds,
allowing the extension to be once more compiled as shared using
./configure. (Kalle)

- FPM:
. Implemented FR #72510 (systemd service should be hardened). (Craig Andrews)

- GD:
. Implemented the scatter filter (IMG_FILTER_SCATTER). (Kalle)
. Fixed bug #73291 (imagecropauto() $threshold differs from external libgd).
(cmb)
. Fixed bug #76324 (cannot detect recent versions of freetype with
pkg-config). (Eli Schwartz)
. The bundled libgd behaves now like system libgd wrt. IMG_CROP_DEFAULT never
falling back to IMG_CROP_SIDES.
. The default $mode parameter of imagecropauto() has been changed to
IMG_CROP_DEFAULT; passing -1 is now deprecated.
. Added support for aspect ratio preserving scaling to a fixed height for
imagescale(). (Andreas Treichel)

- Hash:
. The hash extension is now an integral part of PHP and cannot be disabled
as per RFC: https://wiki.php.net/rfc/permanent_hash_ext. (Kalle)
. Implemented FR #71890 (crc32c checksum algorithm). (Andrew Brampton)

- InterBase:
. Unbundled the InterBase extension and moved it to PECL. (Kalle)

- Intl:
. Raised requirements to ICU ≥ 50.1. (cmb)
. Changed ResourceBundle to implement Countable. (LeSuisse)
. Changed default of $variant parameter of idn_to_ascii() and idn_to_utf8().
(cmb)

- LDAP:
. Deprecated ldap_control_paged_result_response and ldap_control_paged_result

- Mbstring:
. Fixed bug #77907 (mb-functions do not respect default_encoding). (Nikita)

- Opcache:
. Implemented preloading RFC: https://wiki.php.net/rfc/preload. (Dmitry)

- OpenSSL:
. Added TLS 1.3 support to streams including new tlsv1.3 stream.
(Codarren Velvindron, Jakub Zelenka)
. Added openssl_x509_verify function. (Ben Scholzen)
. openssl_random_pseudo_bytes() now throws in error conditions.
(Sammy Kaye Powers)

- PCRE:
. Implemented FR #77094 (Support flags in preg_replace_callback). (Nikita)
. Fixed bug #72685 (Repeated UTF-8 validation of same string in UTF-8 mode).
(Nikita)
. Fixed bug #73948 (Preg_match_all should return NULLs on trailing optional
capture groups).

- PDO:
. Fixed bug #77849 (Disable cloning of PDO handle/connection objects).
(camporter)

- PDO_OCI:
. Support Oracle Database tracing attributes ACTION, MODULE,
CLIENT_INFO, and CLIENT_IDENTIFIER. (Cameron Porter)
. Implemented FR #76908 (PDO_OCI getColumnMeta() not implemented).
(Valentin Collet, Chris Jones, Remi)

- PDO_SQLite:
. Implemented sqlite_stmt_readonly in PDO_SQLite. (BohwaZ)
. Raised requirements to SQLite 3.5.0. (cmb)

- phpdbg:
. Fixed bug #76596 (phpdbg support for display_errors=stderr). (kabel)
. Fixed bug #76801 (too many open files). (alekitto)
. Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
(krakjoe)
. Fixed bug #77805 (phpdbg build fails when readline is shared). (krakjoe)

- SimpleXML:
. Implemented FR #65215 (SimpleXMLElement could register as implementing
Countable). (LeSuisse)

- Sockets:
. Fixed bug #67619 (Validate length on socket_write). (thiagooak)

- sodium:
. Fixed bug #77646 (sign_detached() strings not terminated). (Frank)

- SQLite3:
. Unbundled libsqlite. (cmb)
. Raised requirements to SQLite 3.7.4. (cmb)
. Forbid (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result. (cmb)
. Added support for the SQLite @name notation. (cmb, BohwaZ)
. Added SQLite3Stmt::getSQL() to retrieve the SQL of the statement. (Bohwaz)

- SPL:
. Fixed bug #77518 (SeekableIterator::seek() should accept 'int' typehint as
documented). (Nikita)

- Standard:
. Fixed bug #74764 (Bindto IPv6 works with file_get_contents but fails with
stream_socket_client). (Ville Hukkamäki)
. Implemented FR #38301 (field enclosure behavior in fputcsv). (cmb)
. Implemented FR #51496 (fgetcsv should take empty string as an escape). (cmb)
. Implemented FR #77377 (No way to handle CTRL+C in Windows). (Anatol)
. Implemented password hashing registry RFC:
https://wiki.php.net/rfc/password_registry. (Sara)

- Reflection:
. Fixed bug #76737 (Unserialized reflection objects are broken, they
shouldn't be serializable). (Nikita)

- Tidy:
. Added TIDY_TAG_* constants for HTML5 elements. (cmb)
. Fixed bug #76736 (wrong reflection for tidy_get_head, tidy_get_html,
tidy_get_root, and tidy_getopt) (tandre)

- WDDX:
. Deprecated and unbundled the WDDX extension. (cmb)
Download

PHP 7.3.7 RC1
- Core:
. Fixed bug #76980 (Interface gets skipped if autoloader throws an exception).
(Nikita)

- DOM:
. Fixed bug #78025 (segfault when accessing properties of DOMDocumentType).
(cmb)

- MySQLi:
. Fixed bug #77956 (When mysqli.allow_local_infile = Off, use a meaningful
error message). (Sjon Hortensius)
. Fixed bug #38546 (bindParam incorrect processing of bool types).
(camporter)

- MySQLnd:
. Fixed bug #77955 (Random segmentation fault in mysqlnd from php-fpm).
(Nikita)

- Opcache:
. Fixed bug #78015 (Incorrect evaluation of expressions involving partials
arrays in SCCP). (Nikita)

- OpenSSL:
. Fixed bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c).
(Jakub Zelenka)

- phpdbg:
. Fixed bug #78050 (SegFault phpdbg + opcache on include file twice).
(Nikita)

- Sockets:
. Fixed bug #78038 (Socket_select fails when resource array contains
references). (Nikita)

- Sodium:
. Fixed bug #78114 (segfault when calling sodium_* functions from eval). (cmb)

- Standard:
. Fixed bug #77135 (Extract with EXTR_SKIP should skip $this).
(Craig Duncan, Dmitry)
. Fixed bug ##77937 (preg_match failed). (cmb, Anatol)

- Zip:
. Fixed bug #76345 (zip.h not found). (Michael Maroszek)
Download

PHP 7.2.20 RC1
- Core:
. Fixed bug #76980 (Interface gets skipped if autoloader throws an exception).
(Nikita)

- DOM:
. Fixed bug #78025 (segfault when accessing properties of DOMDocumentType).
(cmb)

- MySQLi:
. Fixed bug #77956 (When mysqli.allow_local_infile = Off, use a meaningful
error message). (Sjon Hortensius)
. Fixed bug #38546 (bindParam incorrect processing of bool types).
(camporter)

- OpenSSL:
. Fixed bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c).
(Jakub Zelenka)

- Sockets:
. Fixed bug #78038 (Socket_select fails when resource array contains
references). (Nikita)

- Standard:
. Fixed bug #77135 (Extract with EXTR_SKIP should skip $this).
(Craig Duncan, Dmitry)
. Fixed bug ##77937 (preg_match failed). (cmb, Anatol)

- Zip:
. Fixed bug #76345 (zip.h not found). (Michael Maroszek)
Download