From b85f0d1cd0cc49ad339b8129c3d45181b56eff24 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 18 Dec 2020 19:10:53 +0100 Subject: Convert file_info resources to objects Besides our general desire to get rid of the legacy resource types, this is particularly appealing for fileinfo, because there are already respective objects. Closes GH-5987. --- UPGRADING | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'UPGRADING') diff --git a/UPGRADING b/UPGRADING index 6cccf69bf0..c659515f51 100644 --- a/UPGRADING +++ b/UPGRADING @@ -19,6 +19,10 @@ PHP 8.1 UPGRADE NOTES 1. Backward Incompatible Changes ======================================== +- Fileinfo: + . The fileinfo functions now accept and return, respectively, finfo objects + instead of resources. + - MySQLi: . mysqli_fetch_fields() and mysqli_fetch_field_direct() will now always return zero for max_length. You can compute this information by iterating over the -- cgit v1.2.1