2015-07-21 22:36:36 +08:00
|
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-11-09 02:26:35 +08:00
|
|
|
|
?? ??? ????, PHP 8.2.1
|
2022-11-08 14:24:02 +08:00
|
|
|
|
|
2022-11-09 00:13:35 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-9905 (constant() behaves inconsistent when class is undefined).
|
|
|
|
|
(cmb)
|
2022-11-08 13:42:39 +08:00
|
|
|
|
. Fixed bug GH-9918 (License information for xxHash is not included in
|
|
|
|
|
README.REDIST.BINS file). (Akama Hitoshi)
|
2022-11-05 02:39:07 +08:00
|
|
|
|
. Fixed bug GH-9890 (OpenSSL legacy providers not available on Windows). (cmb)
|
2022-11-14 22:16:31 +08:00
|
|
|
|
. Fixed bug GH-9650 (Can't initialize heap: [0x000001e7]). (Michael Voříšek)
|
2022-11-15 22:37:32 +08:00
|
|
|
|
. Fixed potentially undefined behavior in Windows ftok(3) emulation. (cmb)
|
2022-11-17 23:32:33 +08:00
|
|
|
|
. Fixed GH-9769 (Misleading error message for unpacking of objects). (jhdxr)
|
2022-11-09 00:57:34 +08:00
|
|
|
|
|
2022-12-13 22:22:39 +08:00
|
|
|
|
- Apache:
|
|
|
|
|
. Fixed bug GH-9949 (Partial content on incomplete POST request). (cmb)
|
2022-11-30 23:47:43 +08:00
|
|
|
|
|
2022-11-23 02:47:24 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-9959 (Solaris port event mechanism is still broken after bug
|
|
|
|
|
#66694). (Petr Sumbera)
|
|
|
|
|
. Fixed bug #68207 (Setting fastcgi.error_header can result in a WARNING).
|
|
|
|
|
(Jakub Zelenka)
|
2022-11-22 05:03:44 +08:00
|
|
|
|
. Fixed bug #80669 (FPM numeric user fails to set groups). (Jakub Zelenka)
|
2022-08-28 21:58:42 +08:00
|
|
|
|
. Fixed bug GH-8517 (Random crash of FPM master process in
|
|
|
|
|
fpm_stdio_child_said). (Jakub Zelenka)
|
2022-11-23 02:47:24 +08:00
|
|
|
|
|
2022-11-13 20:40:45 +08:00
|
|
|
|
- MBString:
|
|
|
|
|
. Fixed bug GH-9535 (The behavior of mb_strcut in mbstring has been changed in
|
|
|
|
|
PHP8.1). (Nathan Freeman)
|
|
|
|
|
|
2022-11-25 21:37:43 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-9968 (Segmentation Fault during OPCache Preload).
|
|
|
|
|
(Arnaud, michdingpayc)
|
|
|
|
|
|
2022-11-25 02:29:44 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug GH-9997 (OpenSSL engine clean up segfault). (Jakub Zelenka)
|
2022-11-25 20:49:12 +08:00
|
|
|
|
. Fixed bug GH-9064 (PHP fails to build if openssl was built with --no-ec).
|
|
|
|
|
(Jakub Zelenka)
|
2022-11-25 22:02:03 +08:00
|
|
|
|
. Fixed bug GH-10000 (OpenSSL test failures when OpenSSL compiled with
|
|
|
|
|
no-dsa). (Jakub Zelenka)
|
2022-11-25 02:29:44 +08:00
|
|
|
|
|
2022-11-05 02:39:07 +08:00
|
|
|
|
- Pcntl:
|
2022-11-13 18:07:46 +08:00
|
|
|
|
. Fixed bug GH-9298 (Signal handler called after rshutdown leads to crash).
|
|
|
|
|
(Erki Aring)
|
|
|
|
|
|
2022-11-29 22:32:46 +08:00
|
|
|
|
- PDO_Firebird:
|
|
|
|
|
. Fixed bug GH-9971 (Incorrect NUMERIC value returned from PDO_Firebird).
|
|
|
|
|
(cmb)
|
|
|
|
|
|
2022-11-15 20:27:44 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed GH-9932 (session name silently fails with . and [). (David Carlier)
|
|
|
|
|
|
2022-11-09 23:24:30 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed GH-9883 (SplFileObject::__toString() reads next line). (Girgias)
|
2022-12-02 09:23:48 +08:00
|
|
|
|
. Fixed GH-10011 (Trampoline autoloader will get reregistered and cannot be
|
|
|
|
|
unregistered). (Girgias)
|
2022-11-09 23:24:30 +08:00
|
|
|
|
|
2022-12-05 23:26:02 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fixed bug #81742 (open_basedir bypass in SQLite3 by using file URI). (cmb)
|
|
|
|
|
|
2022-12-13 22:48:58 +08:00
|
|
|
|
- TSRM:
|
|
|
|
|
. Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)
|
|
|
|
|
|
2022-11-23 10:55:35 +08:00
|
|
|
|
08 Dec 2022, PHP 8.2.0
|
2022-07-06 00:09:39 +08:00
|
|
|
|
|
2022-07-10 21:18:51 +08:00
|
|
|
|
- CLI:
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug #81496 (Server logs incorrect request method). (lauri)
|
2022-07-10 21:18:51 +08:00
|
|
|
|
. Updated the mime-type table for the builtin-server. (Ayesh Karunaratne)
|
2022-06-20 21:14:29 +08:00
|
|
|
|
. Fixed potential overflow for the builtin server via the
|
|
|
|
|
PHP_CLI_SERVER_WORKERS environment variable. (yiyuaner)
|
|
|
|
|
. Fixed GH-8575 by changing STDOUT, STDERR and STDIN to not close on resource
|
|
|
|
|
destruction. (Jakub Zelenka)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Implement built-in web server responding without body to HEAD request on
|
|
|
|
|
a static resource. (Vedran Miletic, Marin Martuslovic)
|
|
|
|
|
. Implement built-in web server responding with HTTP status 405 to
|
|
|
|
|
DELETE/PUT/PATCH request on a static resource.
|
|
|
|
|
(Vedran Miletic, Marin Martuslovic)
|
|
|
|
|
. Fixed bug GH-9709 (Null pointer dereference with -w/-s options).
|
|
|
|
|
(Adam Saponara)
|
2022-07-08 20:47:46 +08:00
|
|
|
|
|
2022-06-21 23:30:42 +08:00
|
|
|
|
- COM:
|
|
|
|
|
. Fixed bug GH-8750 (Can not create VT_ERROR variant type). (cmb)
|
|
|
|
|
|
2022-04-26 16:58:22 +08:00
|
|
|
|
- Core:
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
|
|
|
|
|
. Fixed bug GH-7771 (Fix filename/lineno of constant expressions). (ilutov)
|
|
|
|
|
. Fixed bug GH-7792 (Improve class type in error messages). (ilutov)
|
|
|
|
|
. Support huge pages on MacOS. (David CARLIER)
|
2022-06-09 16:48:52 +08:00
|
|
|
|
. Fixed bug GH-8655 (Casting an object to array does not unwrap refcount=1
|
|
|
|
|
references). (Nicolas Grekas)
|
2022-06-02 23:15:55 +08:00
|
|
|
|
. Fixed bug GH-8661 (Nullsafe in coalesce triggers undefined variable
|
|
|
|
|
warning). (ilutov)
|
2022-03-11 05:35:01 +08:00
|
|
|
|
. Fixed bug GH-7821 and GH-8418 (Allow arbitrary const expressions in backed
|
|
|
|
|
enums). (ilutov)
|
2022-06-17 22:20:28 +08:00
|
|
|
|
. Fixed bug GH-8810 (Incorrect lineno in backtrace of multi-line function
|
|
|
|
|
calls). (ilutov)
|
2022-04-29 11:22:53 +08:00
|
|
|
|
. Optimised code path for newly created file with the stream plain wrapper. (Max Kellermann)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Uses safe_perealloc instead of perealloc for the
|
|
|
|
|
ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Reduced the memory footprint of strings returned by var_export(),
|
|
|
|
|
json_encode(), serialize(), iconv_*(), mb_ereg*(), session_create_id(),
|
|
|
|
|
http_build_query(), strstr(), Reflection*::__toString(). (Arnaud)
|
|
|
|
|
. Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
|
|
|
|
|
(Tobias Bachert)
|
|
|
|
|
. Added error_log_mode ini setting. (Mikhail Galanin)
|
|
|
|
|
. Updated request startup messages. (Eric Norris)
|
|
|
|
|
. Fixed bug GH-7900 (Arrow function with never return type compile-time
|
|
|
|
|
errors). (ilutov)
|
|
|
|
|
. Fixed incorrect double to long casting in latest clang. (zeriyoshi)
|
|
|
|
|
. Added support for defining constants in traits. (sj-i)
|
|
|
|
|
. Stop incorrectly emitting false positive deprecation notice alongside
|
|
|
|
|
unsupported syntax fatal error for `"{$g{'h'}}"`. (TysonAndre)
|
|
|
|
|
. Fix unexpected deprecated dynamic property warning, which occurred when
|
|
|
|
|
exit() in finally block after an exception was thrown without catching.
|
|
|
|
|
(Twosee)
|
|
|
|
|
. Fixed bug GH-9323 (Crash in ZEND_RETURN/GC/zend_call_function)
|
|
|
|
|
(Tim Starling)
|
|
|
|
|
. Fixed bug GH-9227 (Trailing dots and spaces in filenames are ignored).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Fixed bug GH-9285 (Traits cannot be used in readonly classes).
|
|
|
|
|
(kocsismate)
|
|
|
|
|
. Fixed bug GH-9186 (@strict-properties can be bypassed using
|
|
|
|
|
unserialization). (kocsismate)
|
|
|
|
|
. Fixed bug GH-9500 (Using dnf type with parentheses after readonly keyword
|
|
|
|
|
results in a parse error). (ilutov)
|
|
|
|
|
. Fixed bug GH-9516 ((A&B)|D as a param should allow AB or D. Not just A).
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed observer class notify with Opcache file_cache_only=1. (ilutov)
|
|
|
|
|
. Fixes segfault with Fiber on FreeBSD i386 architecture. (David Carlier)
|
|
|
|
|
. Fixed bug GH-9655 (Pure intersection types cannot be implicitly nullable)
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed bug GH-9589 (dl() segfaults when module is already loaded). (cmb,
|
|
|
|
|
Arnaud)
|
|
|
|
|
. Fixed bug GH-9752 (Generator crashes when interrupted during argument
|
|
|
|
|
evaluation with extra named params). (Arnaud)
|
|
|
|
|
. Fixed bug GH-9801 (Generator crashes when memory limit is exceeded during
|
|
|
|
|
initialization). (Arnaud)
|
|
|
|
|
. Fixed a bug with preloaded enums possibly segfaulting. (Bob)
|
|
|
|
|
. Fixed bug GH-9823 (Don’t reset func in zend_closure_internal_handler).
|
|
|
|
|
(Florian Sowade)
|
|
|
|
|
. Fixed potential NULL pointer dereference Windows shm*() functions. (cmb)
|
|
|
|
|
. Fix target validation for internal attributes with constructor property
|
|
|
|
|
promotion. (kooldev)
|
|
|
|
|
. Fixed bug GH-9750 (Generator memory leak when interrupted during argument
|
|
|
|
|
evaluation. (Arnaud)
|
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)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Added new constants from cURL 7.62 to 7.80. (Pierrick)
|
|
|
|
|
. New function curl_upkeep(). (Pierrick)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-8730 (DateTime::diff miscalculation is same time zone of
|
|
|
|
|
different type). (Derick)
|
|
|
|
|
. Fixed bug GH-8964 (DateTime object comparison after applying delta less
|
|
|
|
|
than 1 second). (Derick)
|
|
|
|
|
. Fixed bug GH-9106: (DateInterval 1.5s added to DateTimeInterface is rounded
|
|
|
|
|
down since PHP 8.1.0). (Derick)
|
|
|
|
|
. Fixed bug #75035 (Datetime fails to unserialize "extreme" dates).
|
|
|
|
|
(Derick)
|
|
|
|
|
. Fixed bug #80483 (DateTime Object with 5-digit year can't unserialized).
|
|
|
|
|
(Derick)
|
|
|
|
|
. Fixed bug #81263 (Wrong result from DateTimeImmutable::diff). (Derick)
|
|
|
|
|
. Fixed bug GH-9431 (DateTime::getLastErrors() not returning false when no
|
|
|
|
|
errors/warnings). (Derick)
|
|
|
|
|
. Fixed bug with parsing large negative numbers with the @ notation. (Derick)
|
|
|
|
|
|
|
|
|
|
- DBA:
|
|
|
|
|
. Fixed LMDB driver hanging when attempting to delete a non-existing key
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed LMDB driver memory leak on DB creation failure (Girgias)
|
|
|
|
|
. Fixed GH-8856 (dba: lmdb: allow to override the MDB_NOSUBDIR flag). (Girgias)
|
|
|
|
|
|
|
|
|
|
- FFI:
|
|
|
|
|
. Fixed bug GH-9090 (Support assigning function pointers in FFI). (Adam
|
|
|
|
|
Saponara)
|
|
|
|
|
|
|
|
|
|
- Fileinfo:
|
|
|
|
|
. Fixed bug GH-8805 (finfo returns wrong mime type for woff/woff2 files).
|
|
|
|
|
(Anatol)
|
|
|
|
|
|
|
|
|
|
- Filter:
|
|
|
|
|
. Added FILTER_FLAG_GLOBAL_RANGE to filter Global IPs. (vnsavage)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Added listen.setfib pool option to set route FIB on FreeBSD. (David Carlier)
|
|
|
|
|
. Added access.suppress_path pool option to filter access log entries.
|
|
|
|
|
(Mark Gallagher)
|
|
|
|
|
. Fixed on fpm scoreboard occasional warning on acquisition failure.
|
|
|
|
|
(Felix Wiedemann)
|
|
|
|
|
. Fixed bug GH-9754 (SaltStack (using Python subprocess) hangs when running
|
|
|
|
|
php-fpm 8.1.11). (Jakub Zelenka)
|
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)
|
|
|
|
|
|
2022-11-09 02:26:35 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed bug #81739: OOB read due to insufficient input validation in
|
|
|
|
|
imageloadfont(). (CVE-2022-31630) (cmb)
|
|
|
|
|
|
|
|
|
|
- GMP:
|
|
|
|
|
. Fixed bug GH-9308 (GMP throws the wrong error when a GMP object is passed
|
|
|
|
|
to gmp_init()). (Girgias)
|
|
|
|
|
|
|
|
|
|
- Hash:
|
|
|
|
|
. Fixed bug #81738: buffer overflow in hash_update() on long parameter.
|
|
|
|
|
(CVE-2022-37454) (nicky at mouha dot be)
|
2021-12-01 06:19:38 +08:00
|
|
|
|
. Fixed bug GH-10077: Fix compilation on RHEL 7 ppc64le. (Mattias Ellert)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
|
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)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed build for ICU 69.x and onwards. (David Carlier)
|
|
|
|
|
. Declared Transliterator::$id as readonly to unlock subclassing it. (Nicolas
|
|
|
|
|
Grekas)
|
|
|
|
|
. Fixed bug GH-9421 (Incorrect argument number for ValueError in NumberFormatter).
|
|
|
|
|
(Girgias)
|
|
|
|
|
|
|
|
|
|
- MBString:
|
|
|
|
|
. Fixed bug GH-9248 (Segmentation fault in mb_strimwidth()). (cmb)
|
|
|
|
|
|
|
|
|
|
- mysqli:
|
|
|
|
|
. Fixed bug GH-9841 (mysqli_query throws warning despite using
|
|
|
|
|
silenced error mode). (Kamil Tekiela)
|
|
|
|
|
|
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed potential heap corruption due to alignment mismatch. (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-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin
|
|
|
|
|
Buckley)
|
|
|
|
|
|
|
|
|
|
- Opcache:
|
|
|
|
|
. Allocate JIT buffer close to PHP .text segemnt to allow using direct
|
|
|
|
|
IP-relative calls and jumps.
|
|
|
|
|
(Su Tao, Wang Xue, Chen Hu, Lizhen Lizhen, Dmitry)
|
|
|
|
|
. Added initial support for JIT performance profiling generation
|
|
|
|
|
for macOs Instrument. (David Carlier)
|
|
|
|
|
. Fixed bug GH-8030 (Segfault with JIT and large match/switch statements).
|
|
|
|
|
(Arnaud)
|
|
|
|
|
. Added JIT support improvement for macOs for segments and executable permission
|
|
|
|
|
bit handling. (David Carlier)
|
|
|
|
|
. Added JIT buffer allocation near the .text section on FreeNSD. (David Carlier)
|
|
|
|
|
. Fixed bug GH-9371 (Crash with JIT on mac arm64)
|
|
|
|
|
(jdp1024/David Carlier)
|
|
|
|
|
. Fixed bug GH-9259 (opcache.interned_strings_buffer setting integer
|
|
|
|
|
overflow). (Arnaud)
|
|
|
|
|
. Added indirect call reduction for jit on x86 architectures. (wxue1)
|
|
|
|
|
|
|
|
|
|
- OPcache:
|
|
|
|
|
. Fixed bug GH-9164 (Segfault in zend_accel_class_hash_copy).
|
|
|
|
|
(Arnaud, Sergei Turchanov)
|
|
|
|
|
|
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT. (Max Kellermann)
|
|
|
|
|
. Fixed bug GH-9310 (SSL local_cert and local_pk do not respect
|
|
|
|
|
open_basedir). (Jakub Zelenka)
|
|
|
|
|
. Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like
|
|
|
|
|
AEAD). (Jakub Zelenka)
|
|
|
|
|
. Added openssl_cipher_key_length function. (Jakub Zelenka)
|
|
|
|
|
. Fixed bug GH-9517 (Compilation error openssl extension related to PR
|
|
|
|
|
GH-9366). (Jakub Zelenka)
|
|
|
|
|
. Fixed missing clean up of OpenSSL engine list - attempt to fix GH-8620.
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
. Fixed bug GH-8430 (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does
|
|
|
|
|
not build). (Jakub Zelenka, fsbruva)
|
|
|
|
|
|
|
|
|
|
- PCNTL:
|
|
|
|
|
. Fixed pcntl_(get|set)priority error handling for MacOS. (Juan Morales)
|
|
|
|
|
|
|
|
|
|
- PCRE:
|
|
|
|
|
. Implemented FR #77726 (Allow null character in regex patterns). (tobil4sk)
|
|
|
|
|
. Updated bundled libpcre to 10.40. (cmb)
|
|
|
|
|
|
|
|
|
|
- PDO:
|
|
|
|
|
. Fixed bug GH-9818 (Initialize run time cache in PDO methods).
|
|
|
|
|
(Florian Sowade)
|
|
|
|
|
|
|
|
|
|
- PDO_Firebird:
|
|
|
|
|
. Fixed bug GH-8576 (Bad interpretation of length when char is UTF-8). (cmb)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin
|
|
|
|
|
Buckley)
|
|
|
|
|
. Fixed bug GH-9372 (HY010 when binding overlong parameter). (cmb)
|
|
|
|
|
|
|
|
|
|
- PDO_PGSQL:
|
|
|
|
|
. Fixed bug GH-9411 (PgSQL large object resource is incorrectly closed).
|
|
|
|
|
(Yurunsoft)
|
|
|
|
|
|
|
|
|
|
- Random:
|
|
|
|
|
. Added new random extension. (Go Kudo)
|
|
|
|
|
. Fixed bug GH-9067 (random extension is not thread safe). (cmb)
|
|
|
|
|
. Fixed bug GH-9055 (segmentation fault if user engine throws). (timwolla)
|
|
|
|
|
. Fixed bug GH-9066 (signed integer overflow). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9083 (undefined behavior during shifting). (timwolla)
|
|
|
|
|
. Fixed bug GH-9088, GH-9056 (incorrect expansion of bytes when
|
|
|
|
|
generating uniform integers within a given range). (timwolla)
|
|
|
|
|
. Fixed bug GH-9089 (Fix memory leak on Randomizer::__construct()
|
|
|
|
|
call twice). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9212 (PcgOneseq128XslRr64::jump() should not allow negative
|
|
|
|
|
$advance). (Anton Smirnov)
|
|
|
|
|
. Changed Mt19937 to throw a ValueError instead of InvalidArgumentException
|
|
|
|
|
for invalid $mode. (timwolla)
|
|
|
|
|
. Splitted Random\Randomizer::getInt() (without arguments) to
|
|
|
|
|
Random\Randomizer::nextInt(). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9235 (non-existant $sequence parameter in stub for
|
|
|
|
|
PcgOneseq128XslRr64::__construct()). (timwolla)
|
|
|
|
|
. Fixed bug GH-9190, GH-9191 (undefined behavior for MT_RAND_PHP when
|
|
|
|
|
handling large ranges). (timwolla)
|
|
|
|
|
. Fixed bug GH-9249 (Xoshiro256StarStar does not reject the invalid
|
|
|
|
|
all-zero state). (timwolla)
|
|
|
|
|
. Removed redundant RuntimeExceptions from Randomizer methods. The
|
|
|
|
|
exceptions thrown by the engines will be exposed directly. (timwolla)
|
|
|
|
|
. Added extension specific Exceptions/Errors (RandomException, RandomError,
|
|
|
|
|
BrokenRandomEngineError). (timwolla)
|
|
|
|
|
. Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937
|
|
|
|
|
always returns 1). (timwolla)
|
|
|
|
|
. Fixed Randomizer::getInt() consistency for 32-bit engines. (timwolla)
|
|
|
|
|
. Fixed bug GH-9464 (build on older macOs releases). (David Bohman)
|
|
|
|
|
. Fixed bug GH-9839 (Pre-PHP 8.2 output compatibility for non-mt_rand()
|
|
|
|
|
functions for MT_RAND_PHP). (timwolla)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-8932 (ReflectionFunction provides no way to get the called
|
|
|
|
|
class of a Closure). (cmb, Nicolas Grekas)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Fixed GH-9200 (setcookie has an obsolete expires date format). (timwolla)
|
|
|
|
|
. Fixed GH-9584 (Avoid memory corruption when not unregistering custom session
|
|
|
|
|
handler). (ilutov)
|
|
|
|
|
. Fixed bug GH-9583 (session_create_id() fails with user defined save handler
|
|
|
|
|
that doesn't have a validateId() method). (Girgias)
|
|
|
|
|
|
|
|
|
|
- SOAP:
|
|
|
|
|
. Fixed bug GH-9720 (Null pointer dereference while serializing the response).
|
|
|
|
|
(cmb)
|
2022-05-16 21:30:07 +08:00
|
|
|
|
|
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-06-06 14:18:53 +08:00
|
|
|
|
. Added SO_BPF_EXTENSIONS socket option. (David Carlier)
|
2022-06-10 04:34:44 +08:00
|
|
|
|
. Added SO_SETFIB socket option. (David Carlier)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Added TCP_CONGESTION socket option. (David Carlier)
|
|
|
|
|
. Added SO_ZEROCOPY/MSG_ZEROCOPY options. (David Carlier)
|
|
|
|
|
. Added SOL_FILTER socket option for Solaris. (David Carlier)
|
|
|
|
|
. Fixed socket constants regression as of PHP 8.2.0beta3. (Bruce Dou)
|
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-11-09 02:26:35 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Uses safe_erealloc instead of erealloc to handle heap growth
|
|
|
|
|
for the SplHeap::insert method to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Widen iterator_to_array() and iterator_count()'s $iterator parameter to
|
|
|
|
|
iterable. (timwolla)
|
|
|
|
|
. Fixed bug #69181 (READ_CSV|DROP_NEW_LINE drops newlines within fields).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Fixed bug #65069 (GlobIterator incorrect handling of open_basedir check).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
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)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Deprecated utf8_encode() and utf8_decode(). (Rowan Tommins)
|
|
|
|
|
. Fixed the crypt_sha256/512 api build with clang > 12. (David Carlier)
|
|
|
|
|
. Uses safe_erealloc instead of erealloc to handle options in getopt
|
|
|
|
|
to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Implemented FR GH-8924 (str_split should return empty array for empty
|
|
|
|
|
string). (Michael Vorisek)
|
|
|
|
|
. Added ini_parse_quantity function to convert ini quantities shorthand
|
|
|
|
|
notation to int. (Dennis Snell)
|
|
|
|
|
. Enable arc4random_buf for Linux glibc 2.36 and onwards
|
|
|
|
|
for the random_bytes. (Cristian Rodriguez)
|
|
|
|
|
. Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).
|
|
|
|
|
. Fixed bug #65489 (glob() basedir check is inconsistent). (Jakub Zelenka)
|
|
|
|
|
. Fixed GH-9200 (setcookie has an obsolete expires date format). (Derick)
|
|
|
|
|
. Fixed GH-9244 (Segfault with array_multisort + array_shift). (cmb)
|
|
|
|
|
. Fixed bug GH-9296 (`ksort` behaves incorrectly on arrays with mixed keys).
|
|
|
|
|
(Denis Vaksman)
|
|
|
|
|
. Marked crypt()'s $string parameter as #[\SensitiveParameter]. (timwolla)
|
|
|
|
|
. Fixed bug GH-9464 (build on older macOs releases). (David Bohman)
|
|
|
|
|
. Fixed bug GH-9518 (Disabling IPv6 support disables unrelated constants).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Revert "Fixed parse_url(): can not recognize port without scheme."
|
|
|
|
|
(andypost)
|
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-11-09 02:26:35 +08:00
|
|
|
|
. Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT. (Max Kellermann)
|
|
|
|
|
. Fixed bug GH-9316 ($http_response_header is wrong for long status line).
|
|
|
|
|
(cmb, timwolla)
|
|
|
|
|
. Fixed bug GH-9590 (stream_select does not abort upon exception or empty
|
|
|
|
|
valid fd set). (Arnaud)
|
|
|
|
|
. Fixed bug GH-9653 (file copy between different filesystems). (David Carlier)
|
|
|
|
|
. Fixed bug GH-9779 (stream_copy_to_stream fails if dest in append mode).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
|
|
|
|
- Windows:
|
|
|
|
|
. Added preliminary support for (cross-)building for ARM64. (Yun Dou)
|
|
|
|
|
|
|
|
|
|
- XML:
|
|
|
|
|
. Added libxml_get_external_entity_loader() function. (Tim Starling)
|
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)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Implement fseek for zip stream when possible with libzip 1.9.1. (Remi)
|
2021-10-05 22:27:03 +08:00
|
|
|
|
|