diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-12-18 19:10:53 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-12-20 18:19:22 +0100 |
commit | b85f0d1cd0cc49ad339b8129c3d45181b56eff24 (patch) | |
tree | 93adb3a55918db97f5af15aa8fddcbbd901a990b /UPGRADING | |
parent | 54c866106e51d8fff2ad240febca7871e6b086a9 (diff) | |
download | php-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-- | UPGRADING | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |