3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = false; while(!$foo) { $foo = true; continue; }

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.0070.00718.43
8.3.50.0090.00822.98
8.3.40.0150.00318.70
8.3.30.0090.00618.93
8.3.20.0050.00320.21
8.3.10.0000.00820.27
8.3.00.0040.00419.12
8.2.180.0140.00018.41
8.2.170.0110.00322.96
8.2.160.0090.00620.56
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00420.83
8.2.110.0070.00320.35
8.2.100.0080.00318.03
8.2.90.0000.00719.27
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0070.00017.80
8.2.50.0050.00518.07
8.2.40.0040.00418.28
8.2.30.0000.00719.41
8.2.20.0050.00217.73
8.2.10.0000.00818.18
8.2.00.0050.00317.57
8.1.280.0070.01325.92
8.1.270.0000.00922.06
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0050.00522.14
8.1.230.0060.00619.05
8.1.220.0040.00417.77
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00417.25
8.1.180.0060.00318.81
8.1.170.0000.00818.57
8.1.160.0030.00621.88
8.1.150.0040.00418.84
8.1.140.0040.00417.35
8.1.130.0000.00817.82
8.1.120.0040.00417.43
8.1.110.0040.00417.34
8.1.100.0030.00417.44
8.1.90.0030.00317.46
8.1.80.0000.00717.48
8.1.70.0030.00317.41
8.1.60.0040.00417.57
8.1.50.0040.00417.40
8.1.40.0070.00317.50
8.1.30.0030.00617.54
8.1.20.0000.00817.63
8.1.10.0040.00417.39
8.1.00.0030.00517.26
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0070.00018.39
8.0.270.0070.00017.16
8.0.260.0000.00617.15
8.0.250.0030.00316.95
8.0.240.0000.00816.96
8.0.230.0030.00316.82
8.0.220.0040.00416.90
8.0.210.0000.00716.87
8.0.200.0030.00316.91
8.0.190.0080.00016.82
8.0.180.0040.00416.86
8.0.170.0030.00516.78
8.0.160.0030.00416.76
8.0.150.0000.00716.91
8.0.140.0000.00816.84
8.0.130.0000.00613.32
8.0.120.0040.00416.86
8.0.110.0040.00416.91
8.0.100.0070.00016.94
8.0.90.0000.00716.88
8.0.80.0150.00616.84
8.0.70.0070.00016.88
8.0.60.0040.00416.96
8.0.50.0040.00416.78
8.0.30.0070.01016.97
8.0.20.0080.01217.40
8.0.10.0000.00716.80
8.0.00.0060.01216.82
7.4.330.0030.00315.15
7.4.320.0030.00316.50
7.4.300.0030.00316.38
7.4.290.0030.00316.57
7.4.280.0000.00716.37
7.4.270.0040.00416.50
7.4.260.0030.00316.46
7.4.250.0050.00316.31
7.4.240.0020.00516.49
7.4.230.0030.00316.49
7.4.220.0130.00616.57
7.4.210.0110.00316.52
7.4.200.0000.00716.47
7.4.160.0110.00416.29
7.4.150.0100.00717.40
7.4.140.0140.00417.86
7.4.130.0040.01216.50
7.4.120.0040.01316.55
7.4.110.0200.00616.52
7.4.100.0070.01016.37
7.4.90.0090.00616.55
7.4.80.0100.00719.39
7.4.70.0090.00616.45
7.4.60.0130.00316.31
7.4.50.0040.00016.53
7.4.40.0060.01016.25
7.4.30.0090.00616.31
7.4.00.0070.01014.96
7.3.330.0060.00012.93
7.3.320.0060.00012.98
7.3.310.0000.00716.23
7.3.300.0030.00316.29
7.3.290.0000.02016.09
7.3.280.0080.00616.22
7.3.270.0140.00317.40
7.3.260.0080.00816.36
7.3.250.0140.00316.23
7.3.240.0120.00716.29
7.3.230.0090.00616.39
7.3.210.0120.00616.43
7.3.200.0070.01419.39
7.3.190.0080.00816.39
7.3.180.0040.01116.48
7.3.170.0150.00316.27
7.3.160.0060.00916.30
7.3.10.0040.01116.44
7.3.00.0030.01316.47
7.2.330.0060.01316.54
7.2.320.0110.00716.33
7.2.310.0140.00316.36
7.2.300.0070.01016.24
7.2.290.0030.01616.54
7.2.130.0000.01816.54
7.2.120.0060.00916.48
7.2.110.0030.01016.50
7.2.100.0030.01316.41
7.2.90.0040.01116.58
7.2.80.0120.00316.70
7.2.70.0050.00516.69
7.2.60.0040.00716.45
7.2.50.0000.01016.46
7.2.40.0070.00716.23
7.2.30.0030.00916.54
7.2.20.0040.01216.71
7.2.10.0110.00416.73
7.2.00.0020.01218.12
7.1.250.0030.01015.30
7.1.100.0230.00415.79
7.1.70.0000.00716.80
7.1.60.0120.01219.46
7.1.50.0110.01416.83
7.1.00.0030.07722.54
7.0.200.0050.00516.71
7.0.140.0070.06322.04
7.0.60.0400.07019.88
7.0.50.0030.04017.84
7.0.40.0070.04320.19
7.0.30.0270.08020.09
7.0.20.0270.09020.17
7.0.10.0070.05320.02
7.0.00.0030.08720.12
5.6.280.0130.06021.06
5.6.210.0100.07320.48
5.6.200.0100.08018.17
5.6.190.0070.08320.64
5.6.180.0200.03320.45
5.6.170.0270.08020.44
5.6.160.0000.09320.32
5.6.150.0070.09018.09
5.6.140.0030.04018.07
5.6.130.0000.04718.22
5.6.120.0170.08020.96
5.6.110.0070.08321.11
5.6.100.0130.07720.99
5.6.90.0070.08720.99
5.6.80.0000.08020.39
5.5.350.0170.06020.46
5.5.340.0100.07318.02
5.5.330.0070.08720.25
5.5.320.0270.04020.21
5.5.310.0300.07320.29
5.5.300.0200.07317.95
5.5.290.0130.06718.02
5.5.280.0270.03320.89
5.5.270.0070.03720.73
5.5.260.0070.07020.78
5.5.250.0100.07720.68
5.5.240.0030.07720.25
5.4.450.3970.04719.48
5.4.440.0030.04019.51
5.4.430.1470.04319.32
5.4.420.3900.04019.48
5.4.410.3970.03719.35
5.4.400.3570.03719.08
5.4.390.3630.03319.13
5.4.380.3830.04019.13
5.4.370.4030.03719.13
5.4.360.3930.03319.04
5.4.350.3930.03719.06
5.4.340.3800.03319.25
5.4.320.3930.03319.24
5.4.310.3930.03719.26
5.4.300.3970.03719.18
5.4.290.3770.04319.12
5.4.280.3930.04019.24
5.4.270.3600.04019.24
5.4.260.4070.03018.86
5.4.250.3900.03718.96
5.4.240.4000.03318.87
5.4.230.3900.04018.86
5.4.220.4130.04019.15
5.4.210.3870.02319.00
5.4.200.3400.03718.89
5.4.190.4000.03719.14
5.4.180.4030.03719.02
5.4.170.3670.04019.12
5.4.160.4500.05019.16
5.4.150.3900.03719.10
5.4.140.4200.04016.34
5.4.130.3730.04016.11
5.4.120.3470.03716.33
5.4.110.3800.03316.46
5.4.100.3770.03716.39
5.4.90.3470.03316.35
5.4.80.3830.02716.11
5.4.70.3770.03016.48
5.4.60.3730.04016.30
5.4.50.3730.02316.31
5.4.40.3930.04016.30
5.4.30.4100.02716.20
5.4.20.4000.02716.43
5.4.10.3900.03716.22
5.4.00.3770.03715.71
5.3.290.4070.03314.60
5.3.280.3900.03714.55
5.3.270.4030.03714.57
5.3.260.3870.04014.69
5.3.250.5100.02714.57
5.3.240.4200.04314.48
5.3.230.3900.03714.52
5.3.220.3700.04014.51
5.3.210.3700.04314.46
5.3.200.3770.03014.39
5.3.190.3800.02714.54
5.3.180.4430.03714.38
5.3.170.3430.03714.57
5.3.160.3670.04014.50
5.3.150.3400.03714.64
5.3.140.3930.03714.51
5.3.130.3900.04314.44
5.3.120.3600.04714.36
5.3.110.3830.04014.48
5.3.100.3630.03714.01
5.3.90.3700.03013.95
5.3.80.3500.04314.03
5.3.70.3970.04013.96
5.3.60.3930.03313.93
5.3.50.4130.04013.88
5.3.40.4330.03713.87
5.3.30.4430.04313.72
5.3.20.3970.03313.63
5.3.10.5070.03313.63
5.3.00.3930.02713.57
5.2.170.4470.02011.13
5.2.160.3900.02711.04
5.2.150.3870.03311.30
5.2.140.3600.03710.96
5.2.130.3500.02711.26
5.2.120.2430.02711.08
5.2.110.3330.02710.99
5.2.100.3470.02711.06
5.2.90.3430.03011.00
5.2.80.3370.02710.91
5.2.70.3300.03010.91
5.2.60.3170.03010.87
5.2.50.3300.02710.95
5.2.40.2800.02010.87
5.2.30.2400.03310.97
5.2.20.2600.02710.93
5.2.10.2700.02710.74
5.2.00.2600.02710.75
5.1.60.2370.02710.00
5.1.50.2400.02710.03
5.1.40.2770.0209.97
5.1.30.2400.03010.34
5.1.20.2670.02710.24
5.1.10.2800.02010.03
5.1.00.2430.0239.96
5.0.50.1400.0178.52
5.0.40.1230.0208.46
5.0.30.1200.0338.21
5.0.20.1700.0178.17
5.0.10.1730.0238.18
5.0.00.1800.0308.12
4.4.90.1470.0175.79
4.4.80.1330.0135.81
4.4.70.1530.0175.78
4.4.60.1330.0105.80
4.4.50.1500.0175.85
4.4.40.1300.0235.78
4.4.30.1430.0175.81
4.4.20.1200.0175.82
4.4.10.1470.0205.85
4.4.00.1530.0205.81
4.3.110.1230.0175.79
4.3.100.1270.0105.74
4.3.90.1500.0135.78
4.3.80.1430.0275.71
4.3.70.1870.0135.77
4.3.60.1700.0105.71
4.3.50.1600.0105.78
4.3.40.1800.0235.70
4.3.30.1000.0205.55
4.3.20.1000.0175.55
4.3.10.1000.0205.55
4.3.00.0900.0175.55

preferences:
44.59 ms | 401 KiB | 5 Q