3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Prague'); $t = 1414754455; // 31.10.2014 # time() - 24*60*60; // yesterday $t1 = strtotime("next month", $t); $t2 = strtotime("first day of next month", $t); echo date("d.m.Y", $t) . ": $t\n"; echo date("d.m.Y", $t1) . ": $t1\n"; echo date("d.m.Y", $t2) . ": $t2\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.60.0040.01118.43
8.3.50.0200.01321.19
8.3.40.0100.01018.83
8.3.30.0150.00619.17
8.3.20.0040.00420.16
8.3.10.0030.00523.44
8.3.00.0050.00319.63
8.2.180.0210.00018.28
8.2.170.0140.00322.96
8.2.160.0130.00020.56
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00922.30
8.2.110.0060.00322.24
8.2.100.0030.00917.75
8.2.90.0090.00019.17
8.2.80.0090.00017.97
8.2.70.0050.00517.87
8.2.60.0050.00318.18
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0040.00418.27
8.2.20.0080.00017.84
8.2.10.0060.00318.19
8.2.00.0030.00517.84
8.1.280.0040.01125.92
8.1.270.0090.00024.01
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00324.05
8.1.230.0040.00719.09
8.1.220.0050.00317.79
8.1.210.0030.00618.77
8.1.200.0090.00017.60
8.1.190.0050.00317.25
8.1.180.0040.00418.10
8.1.170.0090.00020.61
8.1.160.0000.00822.02
8.1.150.0000.00719.11
8.1.140.0000.00717.73
8.1.130.0070.00017.89
8.1.120.0000.00717.75
8.1.110.0050.00317.71
8.1.100.0040.00417.78
8.1.90.0000.00717.67
8.1.80.0020.00517.75
8.1.70.0070.00017.69
8.1.60.0050.00317.68
8.1.50.0080.00017.78
8.1.40.0040.00417.79
8.1.30.0040.00417.80
8.1.20.0040.00417.83
8.1.10.0000.00917.74
8.1.00.0080.00017.63
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0000.00718.58
8.0.270.0030.00317.33
8.0.260.0030.00317.32
8.0.250.0000.00717.15
8.0.240.0020.00517.25
8.0.230.0040.00417.13
8.0.220.0000.00717.17
8.0.210.0000.00617.15
8.0.200.0030.00317.20
8.0.190.0080.00017.14
8.0.180.0050.00317.20
8.0.170.0040.00417.07
8.0.160.0080.00017.17
8.0.150.0000.00717.17
8.0.140.0070.00017.09
8.0.130.0030.00313.64
8.0.120.0000.00817.07
8.0.110.0070.00017.02
8.0.100.0040.00417.06
8.0.90.0040.00417.24
8.0.80.0100.00817.17
8.0.70.0040.00417.23
8.0.60.0000.00717.10
8.0.50.0040.00417.19
8.0.30.0150.00317.34
8.0.20.0150.00717.40
8.0.10.0000.00717.13
8.0.00.0070.01116.97
7.4.330.0030.00315.27
7.4.320.0030.00316.83
7.4.300.0000.00616.71
7.4.290.0040.00416.69
7.4.280.0040.00716.86
7.4.270.0030.00316.64
7.4.260.0030.00316.65
7.4.250.0050.00316.70
7.4.240.0020.00516.63
7.4.230.0030.00316.65
7.4.220.0080.01116.71
7.4.210.0100.01016.80
7.4.200.0070.00016.61
7.4.160.0060.00916.87
7.4.150.0090.00617.40
7.4.140.0110.01217.86
7.4.130.0160.00216.84
7.4.120.0070.01016.71
7.4.110.0070.01016.77
7.4.100.0060.00916.66
7.4.90.0140.00316.66
7.4.80.0150.00319.39
7.4.70.0120.00616.95
7.4.60.0100.00816.68
7.4.50.0000.00516.59
7.4.40.0130.00616.70
7.4.30.0050.01116.63
7.4.00.0030.01215.04
7.3.330.0030.00313.35
7.3.320.0050.00013.33
7.3.310.0030.00316.52
7.3.300.0000.00716.38
7.3.290.0070.00616.49
7.3.280.0080.00716.51
7.3.270.0140.00417.40
7.3.260.0070.00916.61
7.3.250.0100.01016.68
7.3.240.0070.01016.65
7.3.230.0030.01316.61
7.3.210.0120.00916.52
7.3.200.0130.00919.39
7.3.190.0070.01016.82
7.3.180.0160.00016.60
7.3.170.0190.00016.56
7.3.160.0080.00816.73
7.2.330.0060.01116.54
7.2.320.0150.00317.00
7.2.310.0100.00617.02
7.2.300.0100.00616.93
7.2.290.0110.00816.78
7.2.00.0070.01019.65
7.1.100.0000.01018.23
7.1.70.0000.00817.42
7.1.60.0110.01419.32
7.1.50.0060.01317.32
7.1.00.0000.08022.36
7.0.200.0040.00416.65
7.0.140.0070.07022.07
7.0.100.0130.07319.96
7.0.90.0130.06019.91
7.0.80.0070.08020.13
7.0.70.0100.03719.89
7.0.60.0070.04319.97
7.0.50.0030.05020.36
7.0.40.0030.07720.10
7.0.30.0070.08020.13
7.0.20.0170.05720.09
7.0.10.0070.08020.17
7.0.00.0200.06720.18
5.6.280.0000.07720.78
5.6.250.0000.09020.71
5.6.240.0100.08020.59
5.6.230.0070.04720.50
5.6.220.0200.06020.49
5.6.210.0070.07320.46
5.6.200.0070.08021.09
5.6.190.0130.06020.96
5.6.180.0130.08021.10
5.6.170.0070.09021.06
5.6.160.0070.08321.03
5.6.150.0170.07021.04
5.6.140.0100.08321.01
5.6.130.0100.08021.01
5.6.120.0100.09021.02
5.6.110.0130.04721.01
5.6.100.0100.08321.00
5.6.90.0170.07021.01
5.6.80.0100.06020.46
5.6.70.0100.07020.45
5.6.60.0100.07720.45
5.6.50.0130.07020.52
5.6.40.0100.06020.45
5.6.30.0070.07720.37
5.6.20.0000.05020.38
5.6.10.0170.07020.43
5.6.00.0230.03320.44
5.5.380.0070.04720.44
5.5.370.0100.09020.40
5.5.360.0070.04020.44
5.5.350.0100.08320.44
5.5.340.0030.08320.92
5.5.330.0100.07320.82
5.5.320.0100.08020.73
5.5.310.0200.07320.83
5.5.300.0130.07720.82
5.5.290.0030.06720.76
5.5.280.0170.07720.88
5.5.270.0100.07720.79
5.5.260.0030.09020.76
5.5.250.0070.08320.63
5.5.240.0070.07720.14
5.5.230.0070.08020.20
5.5.220.0030.05020.10
5.5.210.0070.04320.25
5.5.200.0070.04720.23
5.5.190.0030.08020.09
5.5.180.0030.05320.11
5.5.160.0100.07720.23
5.5.150.0030.06320.10
5.5.140.0100.03720.27
5.5.130.0030.08020.20
5.5.120.0030.08720.20
5.5.110.0070.05720.27
5.5.100.0070.05319.98
5.5.90.0030.04720.14
5.5.80.0130.07720.04
5.5.70.0000.05720.14
5.5.60.0100.06720.11
5.5.50.0130.06020.05
5.5.40.0100.07720.13
5.5.30.0130.07320.04
5.5.20.0170.07320.09
5.5.10.0070.08320.04
5.5.00.0070.04019.98
5.4.450.0000.06719.29
5.4.440.0000.07719.30
5.4.430.0100.04319.44
5.4.420.0070.08019.37
5.4.410.0070.08019.34
5.4.400.0130.06719.23
5.4.390.0000.06018.90
5.4.380.0130.05718.96
5.4.370.0170.03719.03
5.4.360.0100.07319.06
5.4.350.0030.04319.06
5.4.340.0130.07019.12
5.4.320.0100.06718.90
5.4.310.0030.07718.96
5.4.300.0170.05719.05
5.4.290.0070.08018.78
5.4.280.0100.06718.98
5.4.270.0100.06719.14
5.4.260.0100.03319.07
5.4.250.0070.08019.04
5.4.240.0130.07319.11
5.4.230.0100.07019.04
5.4.220.0030.08018.97
5.4.210.0070.08019.04
5.4.200.0030.07718.94
5.4.190.0030.07319.10
5.4.180.0030.07719.06
5.4.170.0100.04018.95
5.4.160.0030.03718.98
5.4.150.0070.03318.76
5.4.140.0030.04016.34
5.4.130.0000.04016.34
5.4.120.0070.03316.27
5.4.110.0030.04316.43
5.4.100.0070.03716.48
5.4.90.0030.03316.50
5.4.80.0070.05016.34
5.4.70.0070.06016.44
5.4.60.0100.03016.24
5.4.50.0100.02716.17
5.4.40.0070.03316.29
5.4.30.0070.05016.18
5.4.20.0030.03316.18
5.4.10.0070.03016.24
5.4.00.0000.03715.71
5.3.290.0070.05314.62
5.3.280.0030.04314.42
5.3.270.0200.06714.54
5.3.260.0030.04314.52
5.3.250.0030.05314.44
5.3.240.0000.04014.61
5.3.230.0070.03014.61
5.3.220.0000.04014.48
5.3.210.0030.03714.52
5.3.200.0030.03314.42
5.3.190.0030.04014.50
5.3.180.0000.04314.57
5.3.170.0030.03714.38
5.3.160.0000.04014.54
5.3.150.0000.05014.38
5.3.140.0030.03714.55
5.3.130.0000.05014.48
5.3.120.0000.05714.50
5.3.110.0030.03714.54
5.3.100.0030.03714.03
5.3.90.0030.04013.95
5.3.80.0070.04313.77
5.3.70.0000.06313.98
5.3.60.0030.03714.00
5.3.50.0000.03713.80
5.3.40.0100.02713.92
5.3.30.0030.03313.67
5.3.20.0000.04013.54
5.3.10.0000.03713.64
5.3.00.0030.03713.63
5.2.170.0000.03311.41
5.2.160.0000.03311.41
5.2.150.0030.03011.41
5.2.140.0000.03011.41
5.2.130.0000.03011.41
5.2.120.0070.02711.41
5.2.110.0000.03011.41
5.2.100.0030.02311.41
5.2.90.0000.03011.41
5.2.80.0000.03011.41
5.2.70.0000.04011.41
5.2.60.0030.02711.41
5.2.50.0030.03011.41
5.2.40.0000.03011.41
5.2.30.0030.03011.41
5.2.20.0030.03011.41
5.2.10.0030.03011.41
5.2.00.0000.03711.41
5.1.60.0030.02311.41
5.1.50.0030.02711.41
5.1.40.0000.03011.41
5.1.30.0000.02711.41
5.1.20.0070.02011.41
5.1.10.0000.03011.41
5.1.00.0000.02711.41
5.0.50.0030.02011.41
5.0.40.0000.04711.41
5.0.30.0100.03711.41
5.0.20.0000.02011.41
5.0.10.0000.03311.41
5.0.00.0000.03011.41
4.4.90.0000.01711.41
4.4.80.0030.02711.41
4.4.70.0030.01311.41
4.4.60.0070.01011.41
4.4.50.0000.01711.41
4.4.40.0030.02311.41
4.4.30.0030.02011.41
4.4.20.0000.01711.41
4.4.10.0000.01711.41
4.4.00.0000.02311.41
4.3.110.0030.01311.41
4.3.100.0030.01711.41
4.3.90.0030.01311.41
4.3.80.0000.05011.41
4.3.70.0100.02011.41
4.3.60.0030.02711.41
4.3.50.0030.03711.41
4.3.40.0000.05711.41
4.3.30.0100.02711.41
4.3.20.0000.03711.41
4.3.10.0070.03311.41
4.3.00.0000.02711.41

preferences:
55.12 ms | 401 KiB | 5 Q