- This topic has 1 reply, 1 voice, and was last updated 1 year, 3 months ago by
peq42.
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
- 24/05/2025 at 23:25 #4726
peq42KeymasterThis 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
09/07/2025 at 21:54 #4970
peq42KeymasterVersion 8.5 Alpha 1 is out!
- Closures and first-class callables in constant expressions.
- Backtraces available on fatal errors.
- #[\NoDiscard] attribute to highlight the importance of consuming a function’s return value.
- (void) cast to intentionally disregard a value.
- Support for casts within constant expressions.
- Introduction of the pipe operator.
- New array functions: array_first() and array_last().
- PHP CLI now supports “–ini=diff” to show changes from default INI settings.
- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
