3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = []; for ($day = 0; $day < 21; $day++) { $output[] = strtotime(sprintf('+%d days', $day)); } echo "<select name='days'>"; foreach ($output as $day) { echo "<option value='".$day."'>".date('l jS \of F Y', $day)."</option>"; } echo "</select>";

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.4.10.0080.00022.61
8.3.140.0080.00816.73
8.3.130.0040.00418.47
8.3.120.0100.01020.55
8.3.110.0060.00320.94
8.3.100.0040.00416.84
8.3.90.0090.00926.77
8.3.80.0120.00018.68
8.3.70.0110.00316.63
8.3.60.0040.01518.43
8.3.50.0150.00224.54
8.3.40.0160.00319.14
8.3.30.0070.01118.98
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.260.0110.00818.46
8.2.250.0090.00617.00
8.2.240.0030.00617.11
8.2.230.0030.00522.58
8.2.220.0050.00524.06
8.2.210.0110.00726.77
8.2.200.0080.00416.50
8.2.190.0060.00916.75
8.2.180.0140.00425.92
8.2.170.0070.00719.15
8.2.160.0100.00322.96
8.2.150.0090.00025.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00426.35
8.2.110.0100.00022.28
8.2.100.0120.00017.91
8.2.90.0040.00420.73
8.2.80.0000.00819.32
8.2.70.0100.00019.60
8.2.60.0030.00518.18
8.2.50.0030.00518.28
8.2.40.0060.00318.41
8.2.30.0030.00518.26
8.2.20.0050.00318.18
8.2.10.0040.00419.29
8.2.00.0040.00419.37
8.1.310.0040.00418.43
8.1.300.0060.00319.61
8.1.290.0030.00630.84
8.1.280.0150.00025.92
8.1.270.0000.00823.99
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00322.20
8.1.230.0170.00020.82
8.1.220.0080.00017.78
8.1.210.0060.00319.04
8.1.200.0000.00917.60
8.1.190.0030.00517.48
8.1.180.0060.00318.10
8.1.170.0050.00318.89
8.1.160.0000.00719.01
8.1.150.0000.00819.05
8.1.140.0080.00319.05
8.1.130.0030.00320.16
8.1.120.0030.00517.60
8.1.110.0080.00017.61
8.1.100.0050.00317.67
8.1.90.0070.00017.72
8.1.80.0000.00717.76
8.1.70.0000.00717.71
8.1.60.0030.00617.77
8.1.50.0030.00517.70
8.1.40.0040.00417.70
8.1.30.0040.00417.77
8.1.20.0060.00317.85
8.1.10.0000.00917.68
8.1.00.0080.00417.66
8.0.300.0080.00019.79
8.0.290.0040.00417.13
8.0.280.0030.00318.45
8.0.270.0040.00418.27
8.0.260.0090.00018.52
8.0.250.0050.00217.19
8.0.240.0000.00817.20
8.0.230.0040.00417.21
8.0.220.0080.00017.16
8.0.210.0000.00717.16
8.0.200.0030.00317.25
8.0.190.0080.00017.10
8.0.180.0040.00417.09
8.0.170.0000.00917.06
8.0.160.0000.00717.09
8.0.150.0000.00717.04
8.0.140.0030.00617.00
8.0.130.0080.00013.50
8.0.120.0000.00817.22
8.0.110.0040.00417.11
8.0.100.0050.00217.04
8.0.90.0000.00717.09
8.0.80.0090.01017.12
8.0.70.0000.00717.04
8.0.60.0070.00017.18
8.0.50.0070.00017.25
8.0.30.0100.01317.33
8.0.20.0090.01417.11
8.0.10.0080.00017.09
8.0.00.0110.01116.80
7.4.330.0020.00215.55
7.4.320.0030.00316.73
7.4.300.0000.00616.80
7.4.290.0030.00516.69
7.4.280.0070.00016.69
7.4.270.0000.00716.72
7.4.260.0030.00316.73
7.4.250.0080.00016.68
7.4.240.0000.00716.69
7.4.230.0000.00716.70
7.4.220.0020.00516.84
7.4.210.0090.00616.66
7.4.200.0070.00016.74
7.4.130.0130.00816.74
7.4.120.0070.01316.69
7.4.110.0090.00916.76
7.4.100.0070.01116.70
7.4.90.0230.00716.51
7.4.80.0160.01016.58
7.4.70.0210.01516.67
7.4.60.0130.01616.34
7.4.50.0230.00616.38
7.4.40.0160.01616.46
7.4.30.0240.01016.21
7.4.20.0160.01616.66
7.4.10.0190.01616.36
7.4.00.0240.00616.19
7.3.330.0030.00616.43
7.3.320.0030.00313.24
7.3.310.0050.00216.51
7.3.300.0070.00016.46
7.3.290.0070.00816.50
7.3.260.0170.00316.71
7.3.230.0060.01316.51
7.3.210.0180.01016.29
7.3.200.0140.01416.17
7.3.190.0210.01216.37
7.3.180.0180.01216.35
7.3.170.0180.01016.42
7.3.160.0230.00616.69
7.3.150.0220.01516.32
7.3.140.0230.00816.68
7.3.130.0230.00516.69
7.3.120.0270.01016.48
7.3.110.0150.01216.55
7.3.100.0220.00516.60
7.3.90.0180.01216.55
7.3.80.0150.01616.56
7.3.70.0160.01216.29
7.3.60.0230.01216.63
7.3.50.0210.01016.28
7.3.40.0220.00716.50
7.3.30.0210.00616.46
7.3.20.0210.00716.59
7.3.10.0260.00416.40
7.3.00.0190.01516.66
7.2.330.0190.00916.62
7.2.320.0200.00616.74
7.2.310.0290.00716.82
7.2.300.0200.01116.73
7.2.290.0190.01316.72
7.2.280.0190.00816.92
7.2.270.0170.01116.48
7.2.260.0250.00816.69
7.2.250.0200.01616.59
7.2.240.0220.00517.03
7.2.230.0270.00316.78
7.2.220.0170.01016.58
7.2.210.0140.01816.57
7.2.200.0150.01916.67
7.2.190.0130.02316.61
7.2.180.0180.00516.73
7.2.170.0260.00716.67
7.2.160.0160.01016.69
7.2.150.0240.00916.80
7.2.140.0250.00816.64
7.2.130.0250.01616.79
7.2.120.0140.01416.89
7.2.110.0150.01516.87
7.2.100.0260.01016.88
7.2.90.0240.00716.77
7.2.80.0240.01016.84
7.2.70.0230.01216.49
7.2.60.0220.00616.69
7.2.50.0190.01316.87
7.2.40.0130.01516.95
7.2.30.0310.01616.81
7.2.20.0170.00716.88
7.2.10.0110.01817.01
7.2.00.0170.00816.92

preferences:
28.48 ms | 403 KiB | 5 Q