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 Time\Instant for a single point in time and a Time\Clock interface you can swap out in tests.

PHP 8.7

Last activity

Ends the PHP project's official endorsement of PEAR as a component framework and distribution system.

PHP 8.7

Last activity

Adds IntlRelativeDateTimeFormatter for localized strings like "3 days ago" and "next Sunday".

PHP 8.7

Last activity

PREG_THROW_ON_ERROR

Discussion

Adds a PREG_THROW_ON_ERROR flag so preg_* functions throw on bad patterns or bad UTF-8 instead of returning false.

PHP 8.7

Last activity

Adds an engine-level scheduler on top of Fibers so async libraries can share one concurrency model.

PHP 8.7

Last activity

Bundles a user_cache extension for keeping userland data in memory across requests.

PHP 8.7

Last activity

Makes HTML markup a first-class PHP expression you can compose, return and pass around.

PHP 8.7

Last activity

Adds an opt-in mode where unqualified function and constant names stop falling back to the global namespace.

PHP 8.6

Last activity

Lets a class declare constructor parameters in its header, lifting property promotion out of __construct().

Last activity

Grapheme Mask

Discussion

Adds grapheme_mask() for masking sensitive data safely in multibyte and emoji-heavy strings.

PHP 8.6

Last activity

Allows specific literal values such as 1 or "draft" as types, like the existing true and false types.

PHP 8.7

Last activity

Working Groups

Discussion

Sets up working groups to own the PHP project's operational side, like infrastructure and releases.

Last activity

Friends

Discussion

Adds friend classes that may access another class's protected members.

PHP 8.6

Last activity

Scope Functions

Discussion

A closure variant for callbacks that run inside the function that defines them, with access to its variables.

PHP 8.6

Last activity