3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($ic = 0; $ic < 10; $ic++){ for($is = 0; $is <= $ic; $is++){ $maxInitialLength = $ic - $is; for($il = 0; $il <= $maxInitialLength; $il++){ echo $ic . ", " . $is . ", " . $il . "\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.0120.00316.63
8.3.50.0070.00718.07
8.3.40.0070.00718.63
8.3.30.0150.00018.55
8.3.20.0060.00320.40
8.3.10.0000.00823.66
8.3.00.0030.00521.80
8.2.180.0040.01116.32
8.2.170.0090.00622.96
8.2.160.0100.00322.30
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00819.76
8.2.120.0000.00826.35
8.2.110.0070.00322.25
8.2.100.0090.00617.84
8.2.90.0000.00819.26
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0060.00320.42
8.2.30.0020.00519.31
8.2.20.0040.00418.06
8.2.10.0000.00717.98
8.2.00.0030.00617.80
8.1.270.0040.00422.20
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0130.00322.05
8.1.230.0080.00420.23
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.48
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0060.00318.91
8.1.160.0070.00022.20
8.1.150.0040.00420.18
8.1.140.0040.00419.45
8.1.130.0030.00317.60
8.1.120.0000.00717.46
8.1.110.0000.00717.37
8.1.100.0030.00517.35
8.1.90.0070.00017.39
8.1.80.0070.00017.43
8.1.70.0040.00417.46
8.1.60.0030.00517.59
8.1.50.0030.00617.53
8.1.40.0030.00517.50
8.1.30.0000.00817.71
8.1.20.0040.00417.65
8.1.10.0000.00817.55
8.1.00.0000.00917.43
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0020.00518.34
8.0.270.0070.00017.13
8.0.260.0030.00317.26
8.0.250.0000.00816.88
8.0.240.0000.00916.96
8.0.230.0000.00816.91
8.0.220.0040.00416.88
8.0.210.0030.00316.77
8.0.200.0030.00316.94
8.0.190.0000.00816.95
8.0.180.0080.00016.92
8.0.170.0050.00316.86
8.0.160.0040.00416.79
8.0.150.0040.00416.79
8.0.140.0000.00716.75
8.0.130.0000.00513.30
8.0.120.0040.00416.76
8.0.110.0040.00416.75
8.0.100.0040.00417.00
8.0.90.0040.00416.88
8.0.80.0040.01816.87
8.0.70.0050.00316.98
8.0.60.0000.00716.68
8.0.50.0030.00516.83
8.0.30.0080.01117.10
8.0.20.0110.01217.40
8.0.10.0000.00716.97
8.0.00.0110.00716.68
7.4.330.0050.00015.55
7.4.320.0000.00716.53
7.4.300.0060.00016.41
7.4.290.0040.00716.58
7.4.280.0040.00416.48
7.4.270.0030.00316.60
7.4.260.0070.00416.50
7.4.250.0000.00716.39
7.4.240.0000.00816.59
7.4.230.0070.00016.62
7.4.220.0130.00616.56
7.4.210.0080.00816.57
7.4.200.0080.00016.43
7.4.160.0150.00616.38
7.4.150.0130.00617.40
7.4.140.0070.01317.86
7.4.130.0090.01016.56
7.4.120.0110.00816.54
7.4.110.0180.00016.42
7.4.100.0200.00516.57
7.4.90.0060.01216.52
7.4.80.0140.00419.39
7.4.70.0140.01116.43
7.4.60.0060.01016.41
7.4.50.0150.00416.19
7.4.40.0060.01116.35
7.4.30.0060.01216.53
7.4.00.0000.01514.97
7.3.330.0000.00513.13
7.3.320.0000.00513.22
7.3.310.0000.00716.12
7.3.300.0050.00216.31
7.3.290.0070.00816.28
7.3.280.0100.00916.29
7.3.270.0060.01317.40
7.3.260.0090.00916.31
7.3.250.0120.00916.31
7.3.240.0120.00916.45
7.3.230.0110.00716.40
7.3.210.0140.00616.32
7.3.200.0160.00316.57
7.3.190.0100.00916.50
7.3.180.0060.01116.44
7.3.170.0080.01216.51
7.3.160.0100.00716.51
7.3.10.0060.00616.57
7.3.00.0090.00616.70
7.2.330.0170.00316.37
7.2.320.0100.00916.56
7.2.310.0120.01216.44
7.2.300.0130.00616.65
7.2.290.0060.01016.50
7.2.130.0130.00916.95
7.2.120.0150.00016.68
7.2.110.0030.00716.52
7.2.100.0120.00316.57
7.2.90.0060.00916.81
7.2.80.0070.00716.71
7.2.70.0040.01116.90
7.2.60.0110.00616.84
7.2.50.0090.00716.70
7.2.40.0030.01016.51
7.2.30.0160.00316.72
7.2.20.0070.00316.83
7.2.10.0120.00016.76
7.2.00.0020.01318.18
7.1.250.0000.01015.77
7.1.200.0080.00415.48
7.1.70.0110.00417.16
7.1.60.0070.00717.17
7.1.00.0030.07722.34
7.0.200.0040.00416.77
7.0.120.0000.07022.06
7.0.110.0070.06022.01
7.0.100.0100.06022.01
7.0.90.0170.05321.98
7.0.80.0070.08022.13
7.0.70.0030.05722.07
7.0.60.0200.04721.73
7.0.50.0130.05722.11
7.0.40.0070.07022.06
7.0.30.0100.05322.11
7.0.20.0170.05022.14
7.0.10.0030.06322.11
7.0.00.0170.06721.98
5.6.270.0000.06720.84
5.6.260.0200.07020.83
5.6.250.0100.06020.78
5.6.240.0070.06320.93
5.6.230.0170.08021.03
5.6.220.0100.06321.08
5.6.210.0070.05720.96
5.6.200.0200.05020.99
5.6.190.0100.06020.98
5.6.180.0100.06321.03
5.6.170.0100.05720.82
5.6.160.0130.05320.94
5.6.150.0130.06321.07
5.6.140.0070.08321.01
5.6.130.0100.07721.02
5.6.120.0100.06320.92
5.6.110.0130.06020.81
5.6.100.0100.06021.01
5.6.90.0100.06320.84
5.6.80.0170.05020.46
5.6.70.0170.05320.38
5.6.60.0130.05720.21
5.6.50.0200.06020.31
5.6.40.0070.06720.39
5.6.30.0170.05720.37
5.6.20.0070.07020.24
5.6.10.0030.06320.27
5.6.00.0170.06320.27

preferences:
55.64 ms | 400 KiB | 5 Q