PHP 8.4 Alpha 1 is out!

Опубликовано: 02 Июль 2026
на канале: Laravel News
902
40

PHP 8.4 Alpha 1 is now released and ready for testing!

*Please DO NOT use this version in production, it is an early test version.*

Some of the highlights of the release include:

Standard:
· Increase the default BCrypt cost to 12. (timwolla)
· Add support for 4 new rounding modes to the round() function. (Jorg Sowa)
· debug_zval_dump() now indicates whether an array is packed. (Max Semenik)
· Added the http_get_last_response_headers() and
http_clear_last_response_headers() that allows retrieving the same content
as the magic $http_response_header variable.
· Add php_base64_encode_ex() API. (Remi)
· Added array_find(), array_find_key(), array_all(), and array_any(). (josh)

MBString:
· Added mb_trim, mb_ltrim and mb_rtrim. (Yuya Hamada)
· Added mb_ucfirst and mb_lcfirst. (Yuya Hamada)
· Updated Unicode data tables to Unicode 15.1. (Ayesh Karunaratne)

IMAP:
· Moved to PECL. (Derick Rethans)

Plus many more features and bug fixes.
https://www.php.net/archive/2024.php#...