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

Array Search Range

Withdrawn

Adds array_search_range() to search for a value within a slice of an array.

PHP 8.6

Last activity

Adds a |>= operator so $x |>= trim(...) pipes a variable through a function and assigns the result back.

PHP 8.6

Last activity

Function autoloading modeled on class autoloading, with no cost to calls that resolve normally.

PHP 8.6

Last activity

Requires autoconf 2.71 to build PHP 8.6 from git, and MySQL 5.7.3 or MariaDB 10.2.4 for persistent connections.

PHP 8.6

Last activity

Lets readonly properties declare default values, so a class can meet a get-only interface property with a fixed value.

PHP 8.6

Last activity

Deprecates 31 features in PHP 8.6 for removal in PHP 9, including return in finally blocks, is_double() and spl_object_hash().

PHP 8.6

Last activity

Duration class

Implemented

Adds a Time\Duration class that stores stopwatch-style time with nanosecond precision, for timeouts and delays instead of bare ints or floats.

PHP 8.6

Last activity

Lets the #[\Override] attribute go on class constants and enum cases, so PHP errors if nothing is actually being overridden.

PHP 8.6

Last activity

Adds URI builder classes, URI and host type detection, and component-aware percent-encoding functions to the ext/uri classes.

PHP 8.6

Last activity

Polling API

Implemented

Adds an Io\Poll API to PHP core that uses epoll, kqueue and other system backends, a faster, scalable alternative to stream_select().

PHP 8.6

Last activity

Adds an error_include_args INI setting that shows the actual arguments passed to a built-in function in its warnings and errors.

PHP 8.6

Last activity