It’s been a months since the new version of PHP 8.2 was released. PHP is a general-purpose scripting language geared towards web development. PHP 8.2 has brought a new function, memory_reset_peak_usage, which resets the highest memory usage recorded by memory_get_peak_usage. This function is ideal for monitoring memory utilization in multiple-cycle operations.
PHP 8.2 also comes in with many new functions: PHP 8.2 RFCs (Random Extension Improvement) is prepared to fix issues with a new curl_upkeep function to its Curl extension. It calls the curl_easy_upkeep() function in libcurl. PHP 8.2 has deprecated the partially supported callables. Callables can be created using the $callable() syntax, the user_call_func(), or a function with a callback.