3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1=strtotime( "today"); $d3=strtotime("$d1+2 days"); echo date("l",$d3); $d2=ceil(($d1-strtotime("Today"))/60/60/24/7); echo "There are " . $d2 ." weeks until 4th of July.";

preferences:
59.9 ms | 402 KiB | 5 Q