3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $daysbefor1979 = '25568'; $start = strtotime("1900-01-01"); $diff = ($date - $start); $days = ($diff / 86400); /* echo date('Y-m-d', jdtounix(gregoriantojd(12, 31, 1899) + 42088)).PHP_EOL;*/ echo round(($daysbefor1979+$days), 0);
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected '<' in /in/OlqBt on line 3
Process exited with code 255.

preferences:
152.1 ms | 1395 KiB | 22 Q