<?php $name = 'mickmackusa'; $yob = fn(?int $age): ?int => !$age ? null : ( fn($birthYear) => (print "$name's birth year is $birthYear\n") ? $birthYear : null )(date('Y') - $age); var_export($yob(null)); echo "\n---\n"; var_export($yob(31));
You have javascript disabled. You will not be able to edit any code.