Skip to content
PHP News
Search

The future of PHP

RFC Tracker

Follow the proposals shaping the next version of PHP.

35
Under discussion
00
In voting
30
Accepted this year
09
Declined this year

Adds a max_execution_wall_time ini setting that stops a script after a set number of real seconds, including time spent waiting on I/O.

Last activity

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

Adds self-hosted Matomo analytics to PHP.net so the team can see which pages people use, without collecting personal data.

Last activity

Adds ReflectionProperty::isReadable() and isWritable() so you can check whether a property can be read or written from a given scope.

PHP 8.6

Last activity

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

PHP 8.5

Last activity

Adds a written policy on when php.net tooling, docs and marketing can use or link to third-party PHP libraries like Composer.

Last activity