UTILITY
age()
Calculate whole calendar years from a birth date.
Signature
int age(string|DateTimeInterface $birth, string|DateTimeInterface|null $asOf = null)
Example
age('1990-09-01', '2026-09-13'); // 36Available from: 1.5.0