3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i > -1; $i++){ echo $i; }

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.0280.01418.43
8.3.50.0250.01921.91
8.3.40.0340.01018.54
8.3.30.0200.02319.01
8.3.20.0160.00320.16
8.3.10.0170.00321.96
8.3.00.0140.00722.37
8.2.180.0340.01316.63
8.2.170.0280.01422.96
8.2.160.0460.01620.67
8.2.150.0280.00724.18
8.2.140.0200.00324.66
8.2.130.0190.00326.16
8.2.120.0160.00319.48
8.2.110.0260.00022.07
8.2.100.0300.00419.51
8.2.90.0070.00719.09
8.2.80.0100.00617.97
8.2.70.0150.00017.50
8.2.60.0070.01117.93
8.2.50.0090.00918.07
8.2.40.0070.00718.02
8.2.30.0070.00718.12
8.2.20.0070.00717.64
8.2.10.0030.01017.88
8.2.00.0100.00717.81
8.1.280.0300.01025.92
8.1.270.0200.00322.01
8.1.260.0190.00326.35
8.1.250.0100.01328.09
8.1.240.0170.01023.92
8.1.230.0290.00319.05
8.1.220.0100.00317.74
8.1.210.0070.01018.77
8.1.200.0140.00717.23
8.1.190.0070.00717.41
8.1.180.0090.00318.66
8.1.170.0100.00318.51
8.1.160.0100.00322.05
8.1.150.0080.00818.70
8.1.140.0070.00717.36
8.1.130.0100.00317.81
8.1.120.0100.00317.50
8.1.110.0110.00417.51
8.1.100.0040.01017.45
8.1.90.0070.00717.47
8.1.80.0070.00717.49
8.1.70.0060.00617.30
8.1.60.0120.00317.51
8.1.50.0120.00317.40
8.1.40.0070.00717.57
8.1.30.0190.00017.54
8.1.20.0180.00017.57
8.1.10.0070.00717.60
8.1.00.0070.00717.52
8.0.300.0160.00018.77
8.0.290.0030.01016.91
8.0.280.0060.00918.38
8.0.270.0080.00817.19
8.0.260.0090.00618.31
8.0.250.0100.00316.87
8.0.240.0130.00316.82
8.0.230.0070.00716.77
8.0.220.0130.00016.73
8.0.210.0070.00716.71
8.0.200.0100.00316.84
8.0.190.0160.00316.77
8.0.180.0140.00416.82
8.0.170.0100.00716.76
8.0.160.0070.00716.78
8.0.150.0140.00316.59
8.0.140.0100.00316.78
8.0.130.0030.00913.26
8.0.120.0090.00616.63
8.0.110.0040.01116.70
8.0.100.0070.00716.68
8.0.90.0100.00316.52
8.0.80.0250.02116.66
8.0.70.0090.00616.59
8.0.60.0160.00016.61
8.0.50.0100.00716.73
8.0.30.0660.03516.92
8.0.20.0620.03717.40
8.0.10.0030.01016.81
8.0.00.0720.03416.72
7.4.330.0130.00315.03
7.4.320.0070.00716.33
7.4.300.0100.00316.30
7.4.290.0070.00716.41
7.4.280.0100.00716.34
7.4.270.0140.00016.23
7.4.260.0070.01016.19
7.4.250.0030.01416.38
7.4.240.0090.00716.34
7.4.230.0110.00316.34
7.4.220.0200.03416.47
7.4.210.0320.02916.32
7.4.200.0100.00316.47
7.4.190.0070.01016.50
7.4.160.0660.02516.21
7.4.150.0770.03717.40
7.4.140.0760.03317.86
7.4.130.0740.02716.21
7.4.120.0600.02816.35
7.4.110.0800.04716.34
7.4.100.0540.02716.37
7.4.90.0370.03516.18
7.4.80.0550.02819.39
7.4.70.0680.03916.45
7.4.60.0430.03316.31
7.4.50.0180.00316.23
7.4.40.0150.01522.77
7.4.30.0270.03116.46
7.4.00.0170.02714.68
7.3.330.0060.00613.16
7.3.320.0040.00813.12
7.3.310.0090.00616.12
7.3.300.0070.00716.16
7.3.290.0180.03216.14
7.3.280.0240.02516.16
7.3.270.0650.03417.40
7.3.260.0590.03316.08
7.3.250.0580.02716.46
7.3.240.0600.03416.41
7.3.230.0650.04216.39
7.3.210.0750.04016.30
7.3.200.0450.04519.39
7.3.190.0550.04816.32
7.3.180.0240.03116.46
7.3.170.0420.02216.27
7.3.160.0320.02216.30
7.3.120.0200.01614.71
7.2.330.0530.03316.57
7.2.320.0400.02916.57
7.2.310.0300.03116.65
7.2.300.0290.02616.66
7.2.290.0490.01916.41
7.1.100.0150.00417.64
7.1.70.0160.00417.07
7.1.60.0300.01719.82
7.1.50.0270.00616.72
7.0.200.0100.00616.78

preferences:
37.21 ms | 400 KiB | 5 Q