# Tagged

What's New

6 articles

Results6 found
Nov 22, 2025
PHP

What's New in PHP 8.5

PHP 8.5 leans into composition and ergonomics. Here are its headline features with practical examples: the pipe operator, cloning with property updates, the NoDiscard attribute, array_first and array_last, the new URI extension, and backtraces on fatal errors.

6 min read
Nov 23, 2024
PHP

What's New in PHP 8.4

PHP 8.4 brought one of the biggest syntax additions of the 8.x line. Here are its headline features with practical examples: property hooks, asymmetric visibility, new without parentheses, the array_find family, the Deprecated attribute, and a modern HTML5 DOM parser.

6 min read
Nov 25, 2023
PHP

What's New in PHP 8.3

PHP 8.3 is a focused release full of quality-of-life wins. Here are its headline features with practical examples: typed class constants, the Override attribute, json_validate, dynamic constant fetch, random string generation, and readonly deep cloning.

5 min read
Dec 10, 2022
PHP

What's New in PHP 8.2

PHP 8.2 polished the type system and the immutability story. Here are its headline features with practical examples: readonly classes, DNF types, standalone null, false and true types, the new Random extension, constants in traits, and sensitive parameter redaction.

6 min read
Nov 27, 2021
PHP

What's New in PHP 8.1

PHP 8.1 is one of the most loved releases of the 8.x line. Here are its headline features with practical examples: enums, readonly properties, first-class callable syntax, fibers, the never return type, and new in initializers.

6 min read
Nov 28, 2020
PHP

What's New in PHP 8.0

PHP 8.0 was a true major version. Here is a tour of its headline features with practical examples: constructor property promotion, named arguments, the match expression, the nullsafe operator, union types, and string helpers that finally read like English.

6 min read