PHP 8 · Types and functions Provide a default Use a default when a value is null or missing. $page = $_GET['page'] ?? 1; Official PHP 8 documentation More types and functions commands Turn on strict typingDeclare typesUse union typesCall with named argumentsWrite an arrow functionDeclare properties in the constructor All types and functions commands · PHP 8 cheatsheet ← Call methods on possible nullsSearch in strings →