Throws a catchable MemoryError for allocations that are obviously too large, instead of a fatal error.
Last activity
Follow the proposals shaping the next version of PHP.
Throws a catchable MemoryError for allocations that are obviously too large, instead of a fatal error.
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 a #[\NonExhaustive] attribute that marks an enum as likely to gain cases, so code matching on it knows to handle unknown ones.
Last activity
Adds FILTER_VALIDATE_STRLEN to validate string length in UTF-8 code points.
Last activity
Lets __sleep() return null or nothing, so it runs as a pre-serialization hook and the engine then serializes the object as usual.
Last activity
Adds a #[\NotSerializable] attribute that makes the engine refuse to serialize() or unserialize() instances of a class.
Last activity