mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
[ci skip] NEWS
This commit is contained in:
parent
77f73de5bb
commit
d217a669fc
8
NEWS
8
NEWS
@ -2,19 +2,21 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.2.0beta1
|
||||
|
||||
- CLI:
|
||||
. Updated the mime-type table for the builtin-server. (Ayesh Karunaratne)
|
||||
|
||||
- Core:
|
||||
. Reduced the memory footprint of strings returned by var_export(),
|
||||
json_encode(), serialize(), iconv_*(), mb_ereg*(), session_create_id(),
|
||||
http_build_query(), strstr(), Reflection*::__toString(). (Arnaud)
|
||||
|
||||
- CLI:
|
||||
. Updated the mime-type table for the builtin-server. (Ayesh Karunaratne)
|
||||
|
||||
- FPM:
|
||||
. Added listen.setfib pool option to set route FIB on FreeBSD. (David Carlier)
|
||||
|
||||
- Standard:
|
||||
. Fixed empty array returned by str_split on empty input. (Michael Vorisek)
|
||||
. Added ini_parse_quantity function to convert ini quantities shorthand
|
||||
notation to int. (Dennis Snell)
|
||||
|
||||
07 Jul 2022, PHP 8.2.0alpha3
|
||||
|
||||
|
@ -198,6 +198,15 @@ PHP 8.2 UPGRADE NOTES
|
||||
- Standard:
|
||||
. The peak memory usage can now be reset to the current usage thanks to
|
||||
memory_reset_peak_usage().
|
||||
. ini_parse_quantity(): Parses "shorthand bytes" quantities returned by
|
||||
ini_get(). The function is suitable for parsing quantities whose int value
|
||||
is in the range [PHP_INT_MIN, PHP_INT_MAX].
|
||||
Parsing and interpretation is consistent with ini_set() (see also the
|
||||
"Changes to INI File Handling" section).
|
||||
Caveats: Some ini settings may apply additional constraints to the resuling
|
||||
int value, such as a smaller range, that will not be reflected by
|
||||
ini_parse_quantity(). The `memory_limit` setting accepts values higher than
|
||||
PHP_INT_MAX, than can not be parsed by ini_parse_quantity().
|
||||
|
||||
========================================
|
||||
7. New Classes and Interfaces
|
||||
|
Loading…
Reference in New Issue
Block a user