Deprecates a batch of features in PHP 8.7 for removal in PHP 9, each item voted on separately.
Last activity
Follow the proposals shaping the next version of PHP.
Deprecates a batch of features in PHP 8.7 for removal in PHP 9, each item voted on separately.
Last activity
Adds native immutable vec, set and tuple types as typed alternatives to arrays.
Last activity
Throws a catchable MemoryError for allocations that are obviously too large, instead of a fatal error.
Last activity
Lets the autoloader load an extension method's file the first time one of its methods is called, so the use extension import is all you write.
Last activity
Allows the #[\Deprecated] attribute on interfaces.
Last activity
Adds a fallthrough; marker to switch and warns when a non-empty case falls through to the next one without it.
Last activity
Adds path segment accessors to the URI extension so paths no longer need splitting by hand.
Last activity
Adds str_iter() for iterating over a string one UTF-8 code point at a time.
Last activity
Makes bindec(), octdec(), hexdec() and base_convert() throw an Exception on invalid characters instead of ignoring them.
Last activity
Adds Filter\Filter and Filter\Flag backed enums for typed filter IDs and flags while keeping existing integer constants and arguments working.
Last activity
Adds IntlRelativeDateTimeFormatter for localized strings like "3 days ago" and "next Sunday".
Last activity
Ends the PHP project's official endorsement of PEAR as a component framework and distribution system.
Last activity
Adds str_mask() for masking phone numbers, card numbers and other sensitive strings.
Last activity
Adds array_search_range() to search for a value within a slice of an array.
Last activity
Adds a |>= operator so $x |>= trim(...) pipes a variable through a function and assigns the result back.
Last activity
Function autoloading modeled on class autoloading, with no cost to calls that resolve normally.
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.
Last activity
Speeds up asymmetric visibility by resolving read and write access separately instead of re-checking on every write.
Last activity
Lets readonly properties declare default values, so a class can meet a get-only interface property with a fixed value.
Last activity
Moves docs for extensions maintained outside php-src out of the PHP manual to a separate home run by the extension maintainers.
Last activity