3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i < 999999; $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.70.0400.00716.58
8.3.60.0330.01018.18
8.3.50.0230.01822.82
8.3.40.0390.00318.60
8.3.30.0370.00719.01
8.3.20.0220.00020.04
8.3.10.0200.00323.53
8.3.00.0190.00319.13
8.2.180.0280.01416.38
8.2.170.0370.00722.96
8.2.160.0570.00420.39
8.2.150.0150.00624.18
8.2.140.0190.00324.66
8.2.130.0190.02326.16
8.2.120.0170.00321.10
8.2.110.0180.00721.02
8.2.100.0190.01017.91
8.2.90.0140.00019.08
8.2.80.0070.00717.97
8.2.70.0070.00717.63
8.2.60.0160.00018.05
8.2.50.0150.00718.07
8.2.40.0110.00718.22
8.2.30.0100.00318.04
8.2.20.0070.00717.65
8.2.10.0100.00318.12
8.2.00.0090.00617.79
8.1.280.0340.00625.92
8.1.270.0130.00923.87
8.1.260.0160.00626.35
8.1.250.0200.00328.09
8.1.240.0280.00022.54
8.1.230.0200.01017.44
8.1.220.0140.00017.74
8.1.210.0120.00318.77
8.1.200.0130.00617.23
8.1.190.0090.00617.13
8.1.180.0090.00918.10
8.1.170.0070.00718.54
8.1.160.0130.00622.01
8.1.150.0100.00318.88
8.1.140.0090.00617.44
8.1.130.0030.01017.87
8.1.120.0030.01017.48
8.1.110.0140.00017.41
8.1.100.0070.00717.34
8.1.90.0070.00717.50
8.1.80.0030.01017.43
8.1.70.0090.00617.43
8.1.60.0080.00817.57
8.1.50.0040.01417.52
8.1.40.0070.00717.42
8.1.30.0090.00617.37
8.1.20.0100.00317.49
8.1.10.0100.00717.47
8.1.00.0110.00417.50
8.0.300.0040.01118.77
8.0.290.0150.00016.63
8.0.280.0070.00718.30
8.0.270.0090.00417.23
8.0.260.0000.01217.18
8.0.250.0030.01016.90
8.0.240.0100.01016.90
8.0.230.0100.00316.73
8.0.220.0130.00316.70
8.0.210.0100.00316.58
8.0.200.0060.00616.82
8.0.190.0090.00616.64
8.0.180.0140.00016.76
8.0.170.0110.00416.84
8.0.160.0100.00716.71
8.0.150.0060.01016.67
8.0.140.0040.01116.64
8.0.130.0080.00413.24
8.0.120.0110.00716.61
8.0.110.0100.00316.70
8.0.100.0090.00316.56
8.0.90.0070.00716.57
8.0.80.0280.01916.74
8.0.70.0100.00316.72
8.0.60.0140.00016.64
8.0.50.0100.00316.59
8.0.30.0640.03117.12
8.0.20.0510.04117.40
8.0.10.0110.00416.84
8.0.00.0740.02216.58
7.4.330.0030.00915.03
7.4.320.0120.00316.43
7.4.300.0080.00416.41
7.4.290.0070.00716.36
7.4.280.0150.00616.34
7.4.270.0060.00616.44
7.4.260.0100.00716.36
7.4.250.0120.00316.41
7.4.240.0100.00816.35
7.4.230.0130.00316.19
7.4.220.0460.02116.40
7.4.210.0150.04516.29
7.4.200.0070.00716.50
7.4.160.0760.02816.31
7.4.150.0510.02217.40
7.4.140.0690.04017.86
7.4.130.0530.02816.36
7.4.120.0590.03916.33
7.4.110.0670.02016.35
7.4.100.0620.04016.43
7.4.90.0530.02816.44
7.4.80.0530.03719.39
7.4.70.0440.03416.39
7.4.60.0300.02616.26
7.4.50.0040.01516.46
7.4.40.0760.06316.35
7.4.30.0210.03516.32
7.4.00.0140.01814.78
7.3.330.0130.00012.99
7.3.320.0060.00612.98
7.3.310.0130.00016.03
7.3.300.0040.01116.22
7.3.290.0420.02916.08
7.3.280.0210.03316.13
7.3.270.0630.03317.40
7.3.260.0710.03416.23
7.3.250.0560.04316.40
7.3.240.0720.03216.39
7.3.230.0550.03416.39
7.3.210.0560.03416.08
7.3.200.0380.02519.39
7.3.190.0270.04816.64
7.3.180.0390.01616.09
7.3.170.0280.03816.40
7.3.160.0530.02216.49
7.2.330.0670.03016.62
7.2.320.0600.05016.61
7.2.310.0530.04016.48
7.2.300.0510.03716.23
7.2.290.0380.03816.73
7.2.00.0100.01319.51
7.1.200.0300.00915.67
7.1.100.0100.01018.10
7.1.70.0040.01117.13
7.1.60.0280.01719.46
7.1.50.0250.01816.80
7.0.200.0060.00916.71

preferences:
38.25 ms | 401 KiB | 5 Q