3v4l.org

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

preferences:
39.49 ms | 402 KiB | 5 Q