July 12, 2024 by dev PHP nullable type hints The parameter may be empty. That is null. // Nullable type hints – ? function sum(?string $age){ echo $age; } sum(“4.5”); sum(null);