3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Mdcnt = array("0","31","28","31","30","31","30","31","31","30","31","30","31"); for($i=20140329 ; $i<=20140402;$i++){ $year = substr($i,0,4); $mon = intval(substr($i,4,2)); $day = intval(substr($i,6,2)); //print $mon . " - " .$day."\n"; if($mon >13 or $mon < 1) continue; if($day > $Mdcnt[$mon] or $day < 1) continue; $days = sprintf("%04d%02d%02d",$year,$mon,$day); print $days."\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)
8.3.70.0150.00016.50
8.3.60.0080.01118.43
8.3.50.0130.00622.09
8.3.40.0110.00418.80
8.3.30.0140.00019.09
8.3.20.0000.00720.30
8.3.10.0050.00322.14
8.3.00.0080.00022.52
8.2.190.0070.00716.58
8.2.180.0140.00716.63
8.2.170.0140.00722.96
8.2.160.0130.00721.11
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0140.00426.16
8.2.120.0050.00319.36
8.2.110.0090.00022.21
8.2.100.0040.00819.45
8.2.90.0050.00319.39
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0030.00518.15
8.2.30.0060.00318.16
8.2.20.0050.00217.70
8.2.10.0000.00817.69
8.2.00.0050.00517.60
8.1.280.0130.00725.92
8.1.270.0040.00422.18
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0130.00720.63
8.1.230.0000.01117.71
8.1.220.0040.00417.88
8.1.210.0040.00418.77
8.1.200.0000.01117.35
8.1.190.0080.00017.41
8.1.180.0060.00318.73
8.1.170.0050.00318.66
8.1.160.0030.00521.93
8.1.150.0070.00018.64
8.1.140.0000.00817.45
8.1.130.0030.00317.78
8.1.120.0030.00417.32
8.1.110.0030.00617.49
8.1.100.0050.00217.46
8.1.90.0090.00017.34
8.1.80.0000.00717.45
8.1.70.0030.00317.46
8.1.60.0060.00317.46
8.1.50.0000.00717.54
8.1.40.0000.00717.38
8.1.30.0030.00617.59
8.1.20.0030.00517.57
8.1.10.0000.00717.60
8.1.00.0040.00417.54
8.0.300.0070.00018.77
8.0.290.0000.00717.16
8.0.280.0050.00318.43
8.0.270.0030.00317.21
8.0.260.0030.00316.68
8.0.250.0060.00016.94
8.0.240.0070.00017.00
8.0.230.0040.00416.98
8.0.220.0030.00316.79
8.0.210.0070.00016.85
8.0.200.0060.00016.98
8.0.190.0030.00316.99
8.0.180.0040.00416.79
8.0.170.0040.00416.79
8.0.160.0050.00216.86
8.0.150.0040.00416.84
8.0.140.0040.00416.85
8.0.130.0000.00513.35
8.0.120.0060.00316.86
8.0.110.0060.00316.79
8.0.100.0000.00716.81
8.0.90.0050.00316.73
8.0.80.0080.00816.87
8.0.70.0080.00016.91
8.0.60.0000.00716.75
8.0.50.0000.00716.85
8.0.30.0040.01716.99
8.0.20.0080.01017.40
8.0.10.0040.00317.04
8.0.00.0090.00916.81
7.4.330.0000.00515.00
7.4.320.0070.00016.59
7.4.300.0030.00316.44
7.4.290.0000.00716.45
7.4.280.0070.00016.50
7.4.270.0030.00616.41
7.4.260.0000.00716.47
7.4.250.0040.00416.56
7.4.240.0050.00216.50
7.4.230.0000.00716.58
7.4.220.0120.00616.68
7.4.210.0080.00916.50
7.4.200.0080.00016.66
7.4.190.0040.00416.56
7.4.160.0140.00416.54
7.4.150.0110.00617.40
7.4.140.0110.01017.86
7.4.130.0110.00616.49
7.4.120.0100.01016.47
7.4.110.0060.01016.44
7.4.100.0060.01216.46
7.4.90.0000.01716.41
7.4.80.0100.00619.39
7.4.70.0110.01016.60
7.4.60.0140.00616.32
7.4.50.0000.00516.48
7.4.40.0090.00622.77
7.4.30.0120.00316.45
7.4.00.0050.01214.97
7.3.330.0000.00613.13
7.3.320.0060.00013.00
7.3.310.0030.00316.09
7.3.300.0070.00016.28
7.3.290.0150.00416.29
7.3.280.0070.01016.28
7.3.270.0070.01017.40
7.3.260.0100.01016.70
7.3.250.0120.00916.51
7.3.240.0100.00716.55
7.3.230.0120.00616.49
7.3.210.0100.00616.53
7.3.200.0120.00419.39
7.3.190.0110.01116.44
7.3.180.0130.01016.53
7.3.170.0130.00316.34
7.3.160.0060.00916.34
7.3.120.0030.01514.96
7.3.110.0070.01014.66
7.3.100.0030.01214.60
7.3.90.0040.00714.80
7.3.80.0060.00315.02
7.3.70.0080.00614.94
7.3.60.0030.01214.49
7.3.50.0000.00914.89
7.3.40.0100.00714.88
7.3.30.0090.00614.96
7.3.20.0030.00716.68
7.3.10.0100.00016.44
7.3.00.0060.00916.67
7.2.330.0100.00716.84
7.2.320.0110.00716.59
7.2.310.0120.00316.63
7.2.300.0100.00616.68
7.2.290.0100.00616.79
7.2.250.0110.00715.32
7.2.240.0150.00315.01
7.2.230.0060.00915.10
7.2.220.0030.00615.28
7.2.210.0070.00715.23
7.2.200.0090.00014.79
7.2.190.0080.00515.05
7.2.180.0070.00315.16
7.2.170.0000.01615.13
7.2.00.0080.00819.09
7.1.330.0060.00615.66
7.1.320.0040.01115.71
7.1.310.0040.01115.81
7.1.300.0060.00915.87
7.1.290.0140.00315.77
7.1.280.0140.00315.82
7.1.270.0060.01115.55
7.1.260.0080.00315.96
7.1.100.0000.01218.02
7.1.70.0070.00316.93
7.1.60.0140.01019.82
7.1.50.0070.01017.07
7.1.00.0070.08322.32
7.0.200.0070.00016.76
7.0.140.0000.07722.12
7.0.100.0200.05319.93
7.0.90.0200.05319.96
7.0.80.0070.06019.92
7.0.70.0230.06720.01
7.0.60.0200.06020.00
7.0.50.0070.05720.28
7.0.40.0000.05020.14
7.0.30.0000.07020.14
7.0.20.0070.06720.09
7.0.10.0030.04720.10
7.0.00.0170.06720.17
5.6.280.0070.07020.98
5.6.250.0030.05020.60
5.6.240.0330.05020.70
5.6.230.0030.04320.66
5.6.220.0130.05320.62
5.6.210.0070.04020.48
5.6.200.0030.06021.14
5.6.190.0130.05021.18
5.6.180.0130.07321.05
5.6.170.0100.08021.08
5.6.160.0030.07021.14
5.6.150.0070.04720.99
5.6.140.0030.06321.02
5.6.130.0100.05021.01
5.6.120.0000.06021.13
5.6.110.0030.07021.13
5.6.100.0030.07320.92
5.6.90.0070.08720.94
5.6.80.0030.08320.56
5.6.70.0130.03720.31
5.6.60.0030.04020.45
5.6.50.0030.04320.41
5.6.40.0070.03720.39
5.6.30.0130.02320.36
5.6.20.0070.03020.36
5.6.10.0070.03020.32
5.6.00.0000.04320.48
5.5.380.0100.04720.43
5.5.370.0100.03720.55
5.5.360.0100.03720.36
5.5.350.0030.05320.47
5.5.340.0070.08020.83
5.5.330.0100.06020.81
5.5.320.0070.08720.77
5.5.310.0030.08320.91
5.5.300.0070.06320.86
5.5.290.0030.05320.93
5.5.280.0100.06720.91
5.5.270.0130.07720.63
5.5.260.0000.05320.90
5.5.250.0070.06020.68
5.5.240.0030.06320.27
5.5.230.0070.04020.32
5.5.220.0030.04020.25
5.5.210.0070.03720.30
5.5.200.0070.03320.15
5.5.190.0100.02720.08
5.5.180.0000.03720.11
5.5.160.0130.03020.20
5.5.150.0000.03720.22
5.5.140.0030.03320.23
5.5.130.0000.03320.08
5.5.120.0070.03020.08
5.5.110.0000.04020.25
5.5.100.0070.05019.97
5.5.90.0100.03319.95
5.5.80.0070.03020.09
5.5.70.0000.05319.97
5.5.60.0030.04020.16
5.5.50.0000.03320.06
5.5.40.0100.02720.03
5.5.30.0000.04320.11
5.5.20.0100.03020.04
5.5.10.0000.03720.07
5.5.00.0030.04019.97
5.4.450.0170.05319.14
5.4.440.0100.06719.35
5.4.430.0130.05319.27
5.4.420.0200.02719.33
5.4.410.0070.06319.00
5.4.400.0130.05018.82
5.4.390.0100.04019.24
5.4.380.0030.04019.09
5.4.370.0000.04318.81
5.4.360.0070.02719.07
5.4.350.0000.03319.09
5.4.340.0030.04318.79
5.4.320.0000.03319.05
5.4.310.0130.02718.90
5.4.300.0070.03018.80
5.4.290.0070.04019.22
5.4.280.0170.02019.06
5.4.270.0070.03019.09
5.4.260.0030.03319.03
5.4.250.0030.03719.02
5.4.240.0000.03319.07
5.4.230.0070.04019.02
5.4.220.0030.04018.96
5.4.210.0030.03019.14
5.4.200.0100.03018.89
5.4.190.0030.03318.89
5.4.180.0070.03018.98
5.4.170.0000.03719.01
5.4.160.0000.03318.94
5.4.150.0000.03319.04
5.4.140.0030.03016.14
5.4.130.0000.03016.32
5.4.120.0070.03016.36
5.4.110.0070.02716.36
5.4.100.0000.03316.22
5.4.90.0030.03016.45
5.4.80.0070.02716.29
5.4.70.0130.03316.34
5.4.60.0070.05716.35
5.4.50.0030.04016.19
5.4.40.0100.03716.37
5.4.30.0070.04716.41
5.4.20.0070.04316.19
5.4.10.0170.05016.27
5.4.00.0000.04715.81
5.3.290.0030.03014.54
5.3.280.0030.03014.59
5.3.270.0130.02714.55
5.3.260.0000.03314.61
5.3.250.0000.03314.53
5.3.240.0100.02314.45
5.3.230.0030.03014.51
5.3.220.0030.03014.55
5.3.210.0000.03314.51
5.3.200.0000.03314.57
5.3.190.0100.03014.45
5.3.180.0000.03714.43
5.3.170.0070.03014.44
5.3.160.0070.05714.58
5.3.150.0100.06314.53
5.3.140.0030.06314.47
5.3.130.0070.07714.52
5.3.120.0100.06014.52
5.3.110.0130.05314.57
5.3.100.0100.04313.87
5.3.90.0100.04014.01
5.3.80.0030.04013.82
5.3.70.0070.06013.98
5.3.60.0070.03714.00
5.3.50.0100.06713.71
5.3.40.0070.04013.90
5.3.30.0000.06013.88
5.3.20.0030.04313.66
5.3.10.0000.04313.66
5.3.00.0000.05313.51
5.2.170.0000.04011.15
5.2.160.0000.04010.95
5.2.150.0070.04711.00
5.2.140.0070.04011.14
5.2.130.0070.03711.18
5.2.120.0030.03011.09
5.2.110.0030.04311.03
5.2.100.0070.03011.02
5.2.90.0030.03011.04
5.2.80.0030.03711.02
5.2.70.0000.03310.92
5.2.60.0070.02710.93
5.2.50.0000.03011.02
5.2.40.0030.03011.04
5.2.30.0030.02710.83
5.2.20.0000.03010.96
5.2.10.0000.03010.88
5.2.00.0000.03010.71
5.1.60.0070.02710.66
5.1.50.0100.03010.66
5.1.40.0000.04010.66
5.1.30.0000.04310.66
5.1.20.0000.03310.66
5.1.10.0000.03010.66
5.1.00.0030.03310.66
5.0.50.0030.02010.66
5.0.40.0030.02710.66
5.0.30.0030.03010.66
5.0.20.0000.03010.66
5.0.10.0030.03010.66
5.0.00.0000.04010.66
4.4.90.0000.01710.66
4.4.80.0000.01710.66
4.4.70.0000.01710.66
4.4.60.0000.02010.66
4.4.50.0030.01310.66
4.4.40.0070.02710.66
4.4.30.0030.02010.66
4.4.20.0030.02710.66
4.4.10.0000.01710.66
4.4.00.0000.04010.66
4.3.110.0000.02010.66
4.3.100.0030.02010.66
4.3.90.0000.02310.66
4.3.80.0070.02710.66
4.3.70.0030.01310.66
4.3.60.0000.01710.66
4.3.50.0000.02010.66
4.3.40.0030.02310.66
4.3.30.0070.02010.66
4.3.20.0000.01710.66
4.3.10.0000.02310.66
4.3.00.0000.02310.66

preferences:
39.9 ms | 401 KiB | 5 Q