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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.150.0130.07718.14
5.6.140.0100.04318.21
5.6.130.0000.04718.12
5.6.120.0070.09021.02
5.6.110.0070.07321.08
5.6.100.0230.06721.03
5.6.90.0270.06320.97
5.6.80.0170.06720.37
5.5.300.0000.04017.95
5.5.290.0030.04017.95
5.5.280.0130.04720.95
5.5.270.0000.09020.76
5.5.260.0070.08720.79
5.5.250.0170.05320.61
5.5.240.0400.06020.11

preferences:
140.57 ms | 1394 KiB | 7 Q