3v4l.org

run code in 300+ PHP versions simultaneously
<?php for( $y = 2000; $y < 2020; $y++) { echo (new \DateTime('now'))->setIsoDate($y . '','26')->modify('next sunday')->format('Y-m-d) . "\n"; }

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.110.0030.08721.01
5.6.100.0100.07721.11
5.6.90.0030.08020.88
5.6.80.0070.06320.40
5.6.70.4030.04320.41
5.5.270.0170.04320.77
5.5.260.0200.07020.87
5.5.250.0030.08720.50
5.5.240.0270.07020.12
5.4.430.0700.05019.52
5.4.420.0770.05319.28
5.4.410.0670.05319.08
5.4.400.0670.05319.08
5.4.390.0800.04019.07
5.4.380.0570.06319.34
5.4.370.0700.04719.22
5.4.360.0630.05319.00
5.4.350.0600.05319.25
5.4.340.0670.04718.89
5.4.320.0830.06319.32
5.4.310.0670.05319.07
5.4.300.0770.03019.12
5.4.290.0630.05019.12
5.4.280.0670.05318.90
5.4.270.0770.03719.34
5.4.260.0630.06019.21
5.4.250.0700.05018.99
5.4.240.0700.05719.15
5.4.230.0630.05719.17
5.4.220.0730.05719.31
5.4.210.0730.05718.98
5.4.200.0770.04316.87
5.4.190.0630.06019.12
5.4.180.0870.05019.17
5.4.170.0700.05319.09
5.4.160.0830.04719.16
5.4.150.0630.05719.04
5.4.140.0870.05316.36
5.4.130.0730.04316.32
5.4.120.0970.04716.58
5.4.110.0600.05016.28
5.4.100.0730.05016.63
5.4.90.0830.05016.45
5.4.80.0770.05016.46
5.4.70.0670.06016.61
5.4.60.0730.05316.22
5.4.50.0770.05016.25
5.4.40.1000.05716.22
5.4.30.0570.06016.25
5.4.20.0800.05316.44
5.4.10.0730.05016.50
5.4.00.0830.04315.98
5.3.290.0830.04714.62
5.3.280.0630.05314.69
5.3.270.0530.05714.50
5.3.260.0630.05714.58
5.3.250.0670.07314.64
5.3.240.0630.05014.70
5.3.230.0570.05714.49
5.3.220.0600.05014.65
5.3.210.0600.05014.50
5.3.200.0500.05714.66
5.3.190.0570.06014.55
5.3.180.0630.05014.42
5.3.170.0670.07314.66
5.3.160.0530.05714.46
5.3.150.0570.05014.64
5.3.140.0570.06014.41
5.3.130.0600.05014.44
5.3.120.0600.05014.62
5.3.110.0570.05714.53
5.3.100.0670.05314.02
5.3.90.0730.04714.12
5.3.80.0700.05014.10
5.3.70.0770.04314.06
5.3.60.0630.05713.98
5.3.50.0700.04713.84
5.3.40.0670.05014.02
5.3.30.0770.04013.86
5.3.20.0700.04713.79
5.3.10.0630.05313.58
5.3.00.0670.05013.56
5.2.170.0500.04311.19
5.2.160.0500.04711.25
5.2.150.0430.05011.02
5.2.140.0530.04311.09
5.2.130.0630.03311.04
5.2.120.0570.03710.95
5.2.110.0600.03711.14
5.2.100.0570.03711.00
5.2.90.0600.03711.04
5.2.80.0570.03711.19
5.2.70.0470.04711.04
5.2.60.0530.04310.91
5.2.50.0530.04011.06
5.2.40.0470.03710.91
5.2.30.0370.04711.05
5.2.20.0430.04011.05
5.2.10.0430.04310.91
5.2.00.0630.03710.80
5.1.60.0470.0309.99
5.1.50.0470.0339.93
5.1.40.0400.0339.89
5.1.30.0100.03710.36
5.1.20.0030.04010.43
5.1.10.0070.0379.98
5.1.00.0370.0409.95
5.0.50.0300.0308.46
5.0.40.0200.0278.49
5.0.30.0200.0438.26
5.0.20.0230.0238.08
5.0.10.0170.0338.09
5.0.00.0230.0408.15
4.4.90.0270.0175.91
4.4.80.0200.0235.83
4.4.70.0200.0235.89
4.4.60.0230.0205.74
4.4.50.0230.0205.77
4.4.40.0130.0435.74
4.4.30.0300.0175.77
4.4.20.0170.0235.88
4.4.10.0170.0235.92
4.4.00.0200.0335.77
4.3.110.0300.0175.75
4.3.100.0300.0175.77
4.3.90.0200.0235.83
4.3.80.0200.0335.64
4.3.70.0130.0235.67
4.3.60.0070.0275.78
4.3.50.0300.0135.68
4.3.40.0230.0335.74
4.3.30.0030.0204.52
4.3.20.0000.0234.55
4.3.10.0000.0234.48
4.3.00.0070.0177.34

preferences:
141.26 ms | 1394 KiB | 7 Q