3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = date("Y-m-d"); //$a = strtotime($a); echo $a; $b = strtotime($a)+strtotime("+1 day"); echo "\n"; echo date("Y-m-d",strtotime("+1 day",$a));

preferences:
54.88 ms | 402 KiB | 5 Q