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

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

SNMP Improvements

Implemented

Adds AES192 and AES256 SNMPv3 protocols, an snmp_init_mib() function to reset loaded MIBs, and more output controls to ext/snmp.

PHP 8.6

Last activity

Limits php://filter URLs to 16 chained filters by default, blocking attacks that use long chains to turn file reads into code execution.

PHP 8.6

Last activity

Deprecates the mb_ereg* regex functions in PHP 8.6 and removes them in PHP 9.0, since the Oniguruma library behind them is no longer maintained.

PHP 8.6

Last activity

Debugable Enums

Implemented

Lets enums define __debugInfo() to control what var_dump() shows for an enum case.

PHP 8.6

Last activity

Replaces the PHP License and Zend Engine License with the Modified BSD License, as PHP License 4 and Zend Engine License 3.

Last activity

Changes the session defaults to use_strict_mode=1, cookie_httponly=1 and cookie_samesite=Lax so new installs are safer out of the box.

PHP 8.6

Last activity