3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_age = floor( (strtotime(date('Y-m-d')) - strtotime('1986-09-16')) / 31556926); echo $_age;

preferences:
41.9 ms | 402 KiB | 5 Q