Adds Filter\Filter and Filter\Flag backed enums for typed filter IDs and flags while keeping existing integer constants and arguments working.
Voting closes
Follow the proposals shaping the next version of PHP.
Voting now
Makes bindec(), octdec(), hexdec() and base_convert() throw an Exception on invalid characters instead of ignoring them.
Voting closes
View RFC →Adds Filter\Filter and Filter\Flag backed enums for typed filter IDs and flags while keeping existing integer constants and arguments working.
Voting closes
Adds MariaDB-specific features to mysqlnd and mysqli.
Last activity
Adds ReflectionAttribute::getCurrent() so an attribute can find the element it is attached to.
Last activity
Adds a using keyword and a ContextManager interface, borrowed from Python, that guarantee setup and cleanup around a block of code.
Last activity
Adds an ext/csv extension with Csv\ functions that read and write RFC 4180 CSV, replacing the SplFileObject CSV methods PHP 8.6 deprecated.
Last activity
Lets an event loop or Fiber scheduler take over PHP's blocking I/O, so plain fread(), sleep() and curl_exec() calls can run concurrently in Fibers.
Last activity
Adds private(namespace) visibility for methods and properties, so classes in the same namespace can share internals without making them public.
Last activity
Lets partial function application fill in the object with this: ?, so DateTimeImmutable::format(this: ?, "c") works with array_map().
Last activity
Adds timer, signal, process and wake-up handles, weak handles and socket support to PHP 8.6's Io\Poll API, so event loops need less custom code.
Last activity
Adds an immutable Uri\QueryParams class to parse, change and build query strings outside of $_GET, including RFC 3986 query strings.
Last activity
A closure variant for callbacks that run inside the function that defines them, with access to its variables.
Last activity
Adds optional crc-fast support to ext/hash for SIMD-accelerated CRC-32 and CRC-64, plus the CRC-64/NVME checksum AWS S3 uses.
Last activity
Sets rules for the PHP project's official social media accounts: who holds the credentials, who posts, and how accounts are added or retired.
Last activity
Lets a parenthesized boolean expression end with a trailing &&, ||, and or or, the same way trailing commas already work.
Last activity
Makes ini_get_all() accept extension names in any letter case, as extension_loaded() and phpversion() already do.
Last activity
Adds PDO::PARAM_BINARY, as a new type or a flag, so PDO drivers bind and quote binary data the same way instead of treating it as a string or a LOB.
Last activity
Adds JSON_ALLOW_COMMENTS and JSON_ALLOW_TRAILING_COMMAS flags so json_decode() and json_validate() accept comments and a final comma.
Last activity
Adds an Io\Terminal API to read the terminal size, switch to raw mode, read single keys, and take hidden input without shelling out to stty.
Last activity
Adds Time\Instant for a single point in time and a Time\Clock interface you can swap out in tests.
Last activity
Adds --enable-cli-fpm so one PHP binary can run CLI and FPM, cutting package size and speeding cold starts after CLI work.
Last activity