3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = (string) intval(date('Y'))+1; echo $x;

preferences:
65.26 ms | 402 KiB | 5 Q