summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-12-18 19:10:53 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-12-20 18:19:22 +0100
commitb85f0d1cd0cc49ad339b8129c3d45181b56eff24 (patch)
tree93adb3a55918db97f5af15aa8fddcbbd901a990b /UPGRADING
parent54c866106e51d8fff2ad240febca7871e6b086a9 (diff)
downloadphp-git-b85f0d1cd0cc49ad339b8129c3d45181b56eff24.tar.gz
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.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING4
1 files changed, 4 insertions, 0 deletions
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