Skip to content
PHP News
Search

The future of PHP

RFC Tracker

Follow the proposals shaping the next version of PHP.

44
Under discussion
02
In voting
33
Accepted this year
09
Declined this year

Error backtraces v2

Implemented

Adds a fatal_error_backtraces INI setting, on by default, so fatal errors include a stack trace like exceptions do.

PHP 8.5

Last activity

Lets you put attributes, including #[\Deprecated], on constants declared with const, and read them with ReflectionConstant::getAttributes().

PHP 8.5

Last activity

Adds curl_share_init_persistent(), which returns a locked persistent curl share handle, reused per option set, that can't share cookies.

PHP 8.5

Last activity

Lets static closures appear in constant expressions, such as attribute arguments, parameter and property defaults, and constants.

PHP 8.5

Last activity