Time\Instant and Time\Clock
DiscussionAdds Time\Instant for a single point in time and a Time\Clock interface you can swap out in tests.
Last activity
Follow the proposals shaping the next version of PHP.
Latest result
Function autoloading modeled on class autoloading, with no cost to calls that resolve normally.
Voting closed Declined
View RFC →Adds Time\Instant for a single point in time and a Time\Clock interface you can swap out in tests.
Last activity
Ends the PHP project's official endorsement of PEAR as a component framework and distribution system.
Last activity
Makes bindec(), octdec(), hexdec() and base_convert() throw an Exception on invalid characters instead of ignoring them.
Last activity
Adds IntlRelativeDateTimeFormatter for localized strings like "3 days ago" and "next Sunday".
Last activity
Adds a PREG_THROW_ON_ERROR flag so preg_* functions throw on bad patterns or bad UTF-8 instead of returning false.
Last activity
Adds an engine-level scheduler on top of Fibers so async libraries can share one concurrency model.
Last activity
Bundles a user_cache extension for keeping userland data in memory across requests.
Last activity
Adds a left-to-right assignment operator to end long pipe chains by assigning the result.
Last activity
Makes HTML markup a first-class PHP expression you can compose, return and pass around.
Last activity
Adds an opt-in mode where unqualified function and constant names stop falling back to the global namespace.
Last activity
Lets a class declare constructor parameters in its header, lifting property promotion out of __construct().
Last activity
Adds grapheme_mask() for masking sensitive data safely in multibyte and emoji-heavy strings.
Last activity
Allows specific literal values such as 1 or "draft" as types, like the existing true and false types.
Last activity
Makes closures declared in constant expressions serializable by referencing the code that declares them.
Last activity
Sets up working groups to own the PHP project's operational side, like infrastructure and releases.
Last activity
A policy for how the PHP project runs its social media and marketing communications.
Last activity
Last activity
A closure variant for callbacks that run inside the function that defines them, with access to its variables.
Last activity
Adds MariaDB-specific features to mysqlnd and mysqli.
Last activity
An official, rolling php-community release that ships experimental features ahead of regular PHP versions.
Last activity