3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bithdayDate = strtotime("1993-08-20"); $tdate = strtotime(date("Y-m-d")); echo floor(($tdate - $bithdayDate)/31556926);

preferences:
66.03 ms | 402 KiB | 5 Q