Prevents instantiating and cloning the internal __PHP_Incomplete_Class.
Last activity
Follow the proposals shaping the next version of PHP.
Prevents instantiating and cloning the internal __PHP_Incomplete_Class.
Last activity
Adds a readonly modifier for local variables, so reassigning one after its first assignment throws an error.
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
Adds an immutable Uri\QueryParams class to parse, change and build query strings outside of $_GET, including RFC 3986 query strings.
Last activity
Lets a parenthesized boolean expression end with a trailing &&, ||, and or or, the same way trailing commas already work.
Last activity
Lets a pipe chain end in return, so "Hello World" |> strlen(...) |> return; returns the result reading left to right.
Last activity
Deprecates lossy casts like (int) "123abc" ahead of a TypeError in PHP 9, and lets strict mode accept Stringable for string parameters.
Last activity
Lets partial function application fill in the object with this: ?, so DateTimeImmutable::format(this: ?, "c") works with array_map().
Last activity
Adds a native values() method to backed enums that returns every backing value in declaration order, unless the enum defines its own.
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
Adds (?type) casts that let null pass through and (!type) casts that reject null, both throwing on malformed input like "123abc".
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 a #[NoSerialize] attribute that leaves a property out of serialize(), or forbids serializing a whole class.
Last activity
Adds an Encoding namespace with full RFC 4648 Base16, Base32 and Base64 support, plus Base58 and Base85.
Last activity
Adds num_available_processors(), which returns the number of logical CPUs so you don't have to shell out to nproc.
Last activity