3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startLM = new DateTime('first day of previous month', new DateTimeZone('America/Detroit')); $startLM->modify('today'); $startLM->setTimezone(new DateTimeZone('UTC')); $startLastMonth = $startLM->format('Y-m-d H:i:s'); $endLM = clone $startLM; $endLM->modify('+30 day'); $endLM->modify('+1 day'); $endLastMonth = $endLM->format('Y-m-d H:i:s'); printf('`timestamp` >= %s AND `timestamp` < %s', $startLastMonth, $endLastMonth);

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.0040.01116.75
8.3.60.0090.01218.14
8.3.50.0250.01121.93
8.3.40.0150.00018.87
8.3.30.0100.00319.14
8.3.20.0050.00220.11
8.3.10.0040.00421.73
8.3.00.0080.00019.38
8.2.190.0090.00616.80
8.2.180.0060.01518.54
8.2.170.0120.00922.96
8.2.160.0140.00019.33
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0160.00017.63
8.2.110.0060.00322.28
8.2.100.0040.00817.84
8.2.90.0040.00418.03
8.2.80.0040.00418.03
8.2.70.0030.00718.05
8.2.60.0030.00618.22
8.2.50.0000.00818.10
8.2.40.0040.00421.02
8.2.30.0000.00819.24
8.2.20.0030.00617.91
8.2.10.0040.00418.15
8.2.00.0040.00418.16
8.1.280.0110.00725.92
8.1.270.0070.01120.41
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00020.55
8.1.230.0000.01120.89
8.1.220.0040.00420.96
8.1.210.0030.00618.78
8.1.200.0000.01017.47
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0050.00220.76
8.1.160.0030.00319.21
8.1.150.0040.00419.02
8.1.140.0070.00017.70
8.1.130.0000.00717.79
8.1.120.0000.00717.59
8.1.110.0070.00017.66
8.1.100.0040.00417.66
8.1.90.0030.00517.54
8.1.80.0050.00317.57
8.1.70.0070.00017.67
8.1.60.0040.00417.75
8.1.50.0040.00417.56
8.1.40.0040.00417.57
8.1.30.0060.00317.73
8.1.20.0000.01117.87
8.1.10.0050.00217.65
8.1.00.0090.00017.61
8.0.300.0030.00521.68
8.0.290.0090.00016.88
8.0.280.0000.00718.59
8.0.270.0040.00417.21
8.0.260.0030.00317.33
8.0.250.0030.00317.17
8.0.240.0000.00717.13
8.0.230.0050.00217.18
8.0.220.0070.00017.09
8.0.210.0000.00717.06
8.0.200.0000.00717.13
8.0.190.0040.00417.06
8.0.180.0050.00317.13
8.0.170.0040.00417.15
8.0.160.0030.00316.86
8.0.150.0000.00716.97
8.0.140.0040.00416.95
8.0.130.0060.00013.51
8.0.120.0000.00717.09
8.0.110.0000.00717.09
8.0.100.0030.00517.06
8.0.90.0040.00416.97
8.0.80.0060.01017.09
8.0.70.0050.00216.99
8.0.60.0040.00416.90
8.0.50.0030.00517.06
8.0.30.0110.00817.31
8.0.20.0120.00917.41
8.0.10.0040.00417.11
8.0.00.0090.00916.92
7.4.330.0000.00515.11
7.4.320.0070.00016.74
7.4.300.0000.00616.59
7.4.290.0060.00016.66
7.4.280.0050.00216.77
7.4.270.0030.00316.75
7.4.260.0020.00516.70
7.4.250.0040.00416.61
7.4.240.0040.00316.64
7.4.230.0000.00716.85
7.4.220.0140.01116.69
7.4.210.0100.00316.76
7.4.200.0070.00016.74
7.4.160.0070.00716.75
7.4.150.0000.01717.40
7.4.140.0150.00617.86
7.4.130.0160.00616.59
7.4.120.0100.00816.69
7.4.110.0100.00716.51
7.4.100.0110.00716.68
7.4.90.0100.00716.49
7.4.80.0100.00619.39
7.4.70.0100.01716.59
7.4.60.0070.01016.71
7.4.50.0000.00916.51
7.4.40.0090.00916.71
7.4.30.0180.00016.59
7.4.00.0030.01215.28
7.3.330.0050.00013.39
7.3.320.0000.00513.23
7.3.310.0000.00716.57
7.3.300.0040.00416.48
7.3.290.0070.00916.50
7.3.280.0060.01116.49
7.3.270.0070.01117.40
7.3.260.0100.00716.53
7.3.250.0130.00816.63
7.3.240.0030.01316.52
7.3.230.0110.00716.50
7.3.210.0230.00016.57
7.3.200.0110.01119.39
7.3.190.0060.01116.56
7.3.180.0080.00816.54
7.3.170.0130.00916.36
7.3.160.0090.00616.68
7.3.120.0100.00615.05
7.3.110.0070.01314.96
7.3.100.0030.01314.96
7.3.90.0040.01114.88
7.3.80.0070.00714.91
7.3.70.0070.01014.95
7.3.60.0030.01014.98
7.3.50.0130.00314.71
7.3.40.0100.00714.56
7.3.30.0040.01115.01
7.3.20.0070.00716.88
7.3.10.0080.00416.73
7.3.00.0070.00716.79
7.2.330.0130.00416.82
7.2.320.0140.00616.79
7.2.310.0140.00316.86
7.2.300.0090.00916.73
7.2.290.0170.00316.57
7.2.250.0070.01014.65
7.2.240.0040.01515.51
7.2.230.0090.00915.16
7.2.220.0070.00715.18
7.2.210.0100.00315.15
7.2.200.0040.00815.14
7.2.190.0040.01115.27
7.2.180.0030.01215.19
7.2.170.0030.00715.19
7.2.60.0070.00716.98
7.1.330.0030.00816.05
7.1.320.0030.01415.89
7.1.310.0000.01715.87
7.1.300.0090.00615.78
7.1.290.0080.00415.87
7.1.280.0030.01016.03
7.1.270.0030.01315.93
7.1.260.0070.00716.14
7.1.200.0030.01215.48
7.1.70.0030.00517.40
7.1.60.0110.01419.59
7.1.50.0150.00716.85
7.1.00.0100.08722.36
7.0.200.0040.00417.00
7.0.60.0070.08319.93
7.0.50.0070.06717.81
7.0.40.0070.04720.20
7.0.30.0200.05020.30
7.0.20.0270.05020.21
7.0.10.0200.07020.12
7.0.00.0130.07020.18
5.6.280.0000.07721.08
5.6.210.0070.08720.45
5.6.200.0100.08018.21
5.6.190.0000.05020.35
5.6.180.4200.04320.56
5.6.170.0370.04320.48
5.6.160.0130.07720.46
5.6.150.0100.06018.08
5.6.140.0130.04018.20
5.6.130.0130.07718.18
5.6.120.0030.04021.14
5.6.110.0100.08720.99
5.6.100.0130.07720.97
5.6.90.0130.08020.84
5.6.80.0000.04320.41
5.6.70.0200.05320.52
5.5.350.0130.08320.40
5.5.340.0130.05018.02
5.5.330.0030.04320.46
5.5.320.0330.03720.24
5.5.310.0300.04320.32
5.5.300.0000.08317.98
5.5.290.0100.05017.96
5.5.280.0070.04020.73
5.5.270.0000.04720.80
5.5.260.0100.08020.76
5.5.250.0130.08020.77
5.5.240.0270.07720.15
5.4.450.0100.06319.48
5.4.440.0470.06319.25
5.4.430.0200.05319.60
5.4.420.0170.05719.21
5.4.410.0230.05319.41
5.4.400.0170.05318.90
5.4.390.0270.04719.21
5.4.380.0300.04019.07
5.4.370.0170.05019.00
5.4.360.0230.04719.32
5.4.350.0070.06019.31
5.4.340.0070.06318.83
5.4.320.0300.04018.96
5.4.310.0170.05319.21
5.4.300.0230.04719.21
5.4.290.0200.04319.20
5.4.280.0130.05318.89
5.4.270.0100.05318.80
5.4.260.0030.06018.82
5.4.250.0130.05719.06
5.4.240.0130.05018.95
5.4.230.0030.06319.01
5.4.220.0230.04719.11
5.4.210.0170.05018.91
5.4.200.0130.05016.61
5.4.190.0070.05718.98
5.4.180.0100.05719.00
5.4.170.0130.05318.91
5.4.160.0200.05719.11
5.4.150.0170.05319.15
5.4.140.0300.04016.47
5.4.130.0230.04016.27
5.4.120.0070.05716.44
5.4.110.0100.05016.18
5.4.100.0170.04716.59
5.4.90.0130.05316.61
5.4.80.0100.05316.45
5.4.70.0130.05316.15
5.4.60.0230.04716.19
5.4.50.0130.05316.49
5.4.40.0130.05316.34
5.4.30.0200.04716.34
5.4.20.0130.05316.31
5.4.10.0270.04016.31
5.4.00.0100.05015.67
5.3.290.0070.06314.58
5.3.280.0170.05314.50
5.3.270.0200.04714.55
5.3.260.0130.05314.63
5.3.250.0170.05314.54
5.3.240.0170.04714.46
5.3.230.0170.04714.45
5.3.220.0100.05714.36
5.3.210.0200.04714.54
5.3.200.0170.04714.48
5.3.190.0230.04314.35
5.3.180.0070.05714.59
5.3.170.0130.05014.49
5.3.160.0170.05014.39
5.3.150.0070.06714.46
5.3.140.0270.04014.40
5.3.130.0130.05314.46
5.3.120.0130.05314.48
5.3.110.0100.05714.55
5.3.100.0200.04714.05
5.3.90.0230.04013.86
5.3.80.0170.04714.00
5.3.70.0130.05013.88
5.3.60.0170.05014.02
5.3.50.0200.04313.95
5.3.40.0070.05713.84
5.3.30.0130.04713.84
5.3.20.0070.05313.66
5.3.10.0170.04313.49
5.3.00.0130.05313.50
5.2.170.0170.04011.15
5.2.160.0200.04011.22
5.2.150.0130.04711.11
5.2.140.0100.04711.29
5.2.130.0200.03311.26
5.2.120.0100.04711.04
5.2.110.0070.04711.21
5.2.100.0070.04311.11
5.2.90.0130.04011.03
5.2.80.0230.03311.08
5.2.70.0200.03711.17
5.2.60.0230.03311.20
5.2.50.0170.03711.18
5.2.40.0100.04310.85
5.2.30.0130.04011.12
5.2.20.0070.04310.91
5.2.10.0170.03310.97
5.2.00.0100.04010.61
5.1.60.0170.0279.83
5.1.50.0100.0339.92
5.1.40.0170.02710.06
5.1.30.0130.03310.38
5.1.20.0130.03710.43
5.1.10.0130.0309.95
5.1.00.0030.04010.06
5.0.50.0130.0208.39
5.0.40.0130.0208.34
5.0.30.0000.0478.15
5.0.20.0030.0308.13
5.0.10.0030.0308.21
5.0.00.0000.0478.00
4.4.90.0070.0205.80
4.4.80.0030.0235.75
4.4.70.0070.0205.84
4.4.60.0030.0235.79
4.4.50.0100.0175.78
4.4.40.0030.0375.73
4.4.30.0030.0235.86
4.4.20.0070.0205.82
4.4.10.0030.0235.97
4.4.00.0030.0375.88
4.3.110.0070.0205.69
4.3.100.0030.0235.70
4.3.90.0100.0175.79
4.3.80.0070.0335.64
4.3.70.0100.0275.84
4.3.60.0100.0305.78
4.3.50.0100.0275.67
4.3.40.0070.0335.72
4.3.30.0030.0234.51
4.3.20.0030.0234.55
4.3.10.0070.0174.46
4.3.00.0000.0237.30

preferences:
31.97 ms | 401 KiB | 5 Q