<?php $name = 'mickmackusa'; $yob = fn(?int $age): ?int => !$age ? null : ( fn($birthYear) => $birthYear * print "$name's birth year is $birthYear\n" )(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.