This is no php 9.0(which should change a lot more, specially under de hood and related to performance), but php 8.5 is looking interesting so far.
Added:
New functions:
- curl_multi_get_handles() //makes it easier to manage multiple concurrent cURL, retrieving all handles from a cURL multi handle.
- get_exception_handler() & get_error_handler() //adds a layer of control when managing application-level errors.
- array_first() & array_last() //make it easier to get the first and last values of an array
Fatal error stack traces: Fatal errors will now include a full stack trace, which is VERY useful for debugging.
Changes:
- MHASH_* constants are being removed
- new Directory() changed to dir