3v4l.org

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

preferences:
40.24 ms | 402 KiB | 5 Q