Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ PHP NEWS
registrations are freed while still reachable from the cycle collector.
(Ilia Alshanetsky)

- Fileinfo:
. Upgrade to file 5.48. (Weilin Du)

- Intl:
. Fixed cloning IntlDateFormatter and MessageFormatter losing PHP-side state
such as dateType, timeType, calendar and the message pattern.
Expand Down
4 changes: 4 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,10 @@ PHP 8.6 UPGRADE NOTES
9. Other Changes to Extensions
========================================

- Fileinfo:
. Upgraded to file 5.48.
Custom compiled magic databases from older file versions must be regenerated.

- Hash:
. The bundled version of xxHash was upgraded to 0.8.2.

Expand Down
1 change: 1 addition & 0 deletions ext/fileinfo/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if test "$PHP_FILEINFO" != "no"; then
libmagic/print.c
libmagic/readcdf.c
libmagic/softmagic.c
libmagic/swap.c
"])

AC_CHECK_HEADERS([sys/sysmacros.h])
Expand Down
2 changes: 1 addition & 1 deletion ext/fileinfo/config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (PHP_FILEINFO != 'no') {
encoding.c fsmagic.c funcs.c \
is_json.c is_tar.c is_simh.c magic.c print.c \
readcdf.c softmagic.c der.c \
buffer.c is_csv.c";
buffer.c is_csv.c swap.c";

EXTENSION('fileinfo', 'fileinfo.c php_libmagic.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname);
ADD_EXTENSION_DEP('fileinfo', 'pcre');
Expand Down
20,656 changes: 10,542 additions & 10,114 deletions ext/fileinfo/data_file.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ext/fileinfo/generate_patch.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VERSION=5.46
VERSION=5.48

# Go to fileinfo extension directory.
cd "$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)" || exit
Expand Down
Loading
Loading