2015-07-21 22:36:36 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-06-07 23:47:44 +08:00
|
|
|
?? ??? ????, PHP 8.2.0alpha2
|
|
|
|
|
|
|
|
|
|
|
|
09 Jun 2022, PHP 8.2.0alpha1
|
2021-02-15 12:55:25 +08:00
|
|
|
|
2021-10-03 17:21:35 +08:00
|
|
|
- CLI:
|
|
|
|
. Fixed bug #81496 (Server logs incorrect request method). (lauri)
|
|
|
|
|
2021-09-29 03:44:12 +08:00
|
|
|
- Core:
|
2021-09-28 22:58:18 +08:00
|
|
|
. Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
|
2022-02-05 20:00:17 +08:00
|
|
|
. Fixed bug GH-7771 (Fix filename/lineno of constant expressions). (ilutov)
|
2022-03-10 21:41:07 +08:00
|
|
|
. Fixed bug GH-7792 (Improve class type in error messages). (ilutov)
|
2021-12-21 16:29:09 +08:00
|
|
|
. Support huge pages on MacOS. (David CARLIER)
|
2021-09-29 05:28:33 +08:00
|
|
|
|
2021-12-24 18:14:48 +08:00
|
|
|
- Curl:
|
|
|
|
. Added support for CURLOPT_XFERINFOFUNCTION. (David Carlier)
|
2022-05-15 19:01:50 +08:00
|
|
|
. Added support for CURLOPT_MAXFILESIZE_LARGE. (David Carlier)
|
2021-12-24 18:14:48 +08:00
|
|
|
|
2022-05-05 19:15:44 +08:00
|
|
|
- Date:
|
|
|
|
. Fixed GH-8458 (DateInterval::createFromDateString does not throw if
|
|
|
|
non-relative items are present). (Derick)
|
2022-05-20 18:18:49 +08:00
|
|
|
. Fixed bug #52015 (Allow including end date in DatePeriod iterations)
|
|
|
|
(Daniel Egeberg, Derick)
|
2021-12-29 23:38:45 +08:00
|
|
|
. idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO
|
|
|
|
Year). (Pavel Djundik)
|
2022-05-05 19:15:44 +08:00
|
|
|
|
2022-03-19 23:16:07 +08:00
|
|
|
- FPM:
|
|
|
|
. Emit error for invalid port setting. (David Carlier)
|
2021-11-13 02:38:55 +08:00
|
|
|
. Added extra check for FPM proc dumpable on SELinux based systems.
|
|
|
|
(David Carlier)
|
2022-04-09 22:08:41 +08:00
|
|
|
. Added support for listening queue on macOS. (David Carlier)
|
2022-04-23 20:25:08 +08:00
|
|
|
. Changed default for listen.backlog on Linux to -1. (Cristian Rodríguez)
|
2022-03-19 23:16:07 +08:00
|
|
|
|
2022-03-28 10:48:30 +08:00
|
|
|
- FTP:
|
|
|
|
. Fix datetime format string to follow POSIX spec in ftp_mdtm(). (Jihwan Kim)
|
|
|
|
|
2021-11-11 14:26:04 +08:00
|
|
|
- Intl:
|
|
|
|
. Update all grandfathered language tags with preferred values
|
2022-01-20 18:30:35 +08:00
|
|
|
. Fixed GH-7939 (Cannot unserialize IntlTimeZone objects). (cmb)
|
2021-11-11 14:26:04 +08:00
|
|
|
|
2021-11-12 14:59:22 +08:00
|
|
|
- OCI8:
|
|
|
|
. Added oci8.prefetch_lob_size directive to tune LOB query performance
|
2021-12-12 19:31:07 +08:00
|
|
|
. Support for building against Oracle Client libraries 10.1 and 10.2 has been
|
|
|
|
dropped. Oracle Client libraries 11.2 or newer are now required.
|
2021-11-12 14:59:22 +08:00
|
|
|
|
2022-04-22 23:04:47 +08:00
|
|
|
- ODBC:
|
2022-05-27 23:00:16 +08:00
|
|
|
. Fixed bug GH-8300 (User input not escaped when building connection string).
|
|
|
|
(Calvin Buckley)
|
2022-04-22 23:04:47 +08:00
|
|
|
|
2022-02-18 02:40:56 +08:00
|
|
|
- PDO_ODBC:
|
|
|
|
. Fixed bug #80909 (crash with persistent connections in PDO_ODBC). (Calvin
|
|
|
|
Buckley)
|
2022-05-27 23:00:16 +08:00
|
|
|
. Fixed bug GH-8300 (User input not escaped when building connection string).
|
|
|
|
(Calvin Buckley)
|
2022-02-18 02:40:56 +08:00
|
|
|
|
2022-05-05 21:51:20 +08:00
|
|
|
- Reflection:
|
|
|
|
. Added ReflectionFunction::isAnonymous(). (Nicolas Grekas)
|
2022-05-04 19:21:37 +08:00
|
|
|
. Added ReflectionMethod::hasPrototype(). (Ollie Read)
|
2022-06-03 00:13:21 +08:00
|
|
|
. Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.
|
|
|
|
(SamMousa)
|
2022-05-05 21:51:20 +08:00
|
|
|
|
2022-05-16 21:30:07 +08:00
|
|
|
- Session:
|
|
|
|
. Fixed bug GH-7787 (Improve session write failure message for user error
|
|
|
|
handlers). (ilutov)
|
|
|
|
|
2022-05-16 00:43:20 +08:00
|
|
|
- Sockets:
|
|
|
|
. Added TCP_NOTSENT_LOWAT socket option. (David Carlier)
|
2022-04-21 04:06:47 +08:00
|
|
|
. Added SO_MEMINFO socket option. (David Carlier)
|
2022-05-27 20:06:53 +08:00
|
|
|
. Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).
|
|
|
|
(David Carlier)
|
|
|
|
. Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket
|
|
|
|
options. (David Carlier)
|
2022-06-02 21:08:03 +08:00
|
|
|
. Added ancillary data support for FreeBSD. (David Carlier)
|
2022-06-04 03:43:09 +08:00
|
|
|
. Added ancillary data support for NetBSD. (David Carlier)
|
2022-05-16 00:43:20 +08:00
|
|
|
|
2022-03-30 15:45:47 +08:00
|
|
|
- Sodium:
|
|
|
|
. Added sodium_crypto_stream_xchacha20_xor_ic(). (Scott)
|
|
|
|
|
2022-03-15 03:09:20 +08:00
|
|
|
- SQLite3:
|
|
|
|
. Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER. (bohwaz)
|
|
|
|
|
2021-12-05 11:59:18 +08:00
|
|
|
- Standard:
|
|
|
|
. net_get_interfaces() also reports wireless network interfaces on Windows.
|
|
|
|
(Yurun)
|
2021-12-16 03:00:24 +08:00
|
|
|
. Finished AVIF support in getimagesize(). (Yannis Guyon)
|
2021-12-29 19:51:18 +08:00
|
|
|
. Fixed bug GH-7847 (stripos with large haystack has bad performance).
|
|
|
|
(ilutov)
|
2022-03-04 20:24:08 +08:00
|
|
|
. New function memory_reset_peak_usage(). (Patrick Allaert)
|
2021-12-30 21:25:34 +08:00
|
|
|
. Fixed parse_url(): can not recognize port without scheme. (pandaLIU)
|
2021-12-05 11:59:18 +08:00
|
|
|
|
2022-05-16 21:30:07 +08:00
|
|
|
- Streams:
|
|
|
|
. Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.
|
|
|
|
(Cristian Rodríguez)
|
2022-05-20 01:27:14 +08:00
|
|
|
. Fixed bug GH-8548 (stream_wrapper_unregister() leaks memory). (ilutov)
|
2022-05-16 21:30:07 +08:00
|
|
|
|
2021-10-05 22:27:03 +08:00
|
|
|
- Zip:
|
|
|
|
. add ZipArchive::clearError() method
|
|
|
|
. add ZipArchive::getStreamName() method
|
|
|
|
. add ZipArchive::getStreamIndex() method
|
2022-05-13 20:59:12 +08:00
|
|
|
. On Windows, the Zip extension is now built as shared library (DLL) by
|
|
|
|
default. (cmb)
|
2021-10-05 22:27:03 +08:00
|
|
|
|
2013-05-17 17:22:04 +08:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|