3v4l.org

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

preferences:
37.72 ms | 402 KiB | 5 Q