3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $i = 5; while($i<=5) { echo "The number is " . $i . "<br>"; $i++; } ?> </body> </html>

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.0110.01118.52
8.3.50.0080.01122.11
8.3.40.0110.00418.70
8.3.30.0100.00319.04
8.3.20.0070.00020.04
8.3.10.0030.00523.57
8.3.00.0040.00420.80
8.2.180.0070.00716.32
8.2.170.0070.00722.96
8.2.160.0070.00720.43
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00820.98
8.2.110.0050.00522.14
8.2.100.0120.00017.78
8.2.90.0000.00819.25
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00819.89
8.2.30.0040.00418.12
8.2.20.0000.00817.73
8.2.10.0040.00418.03
8.2.00.0000.00717.73
8.1.280.0070.00725.92
8.1.270.0040.00422.01
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00023.91
8.1.230.0030.00819.01
8.1.220.0000.00717.74
8.1.210.0050.00318.77
8.1.200.0000.01017.35
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0000.00822.00
8.1.150.0000.00718.63
8.1.140.0000.00817.36
8.1.130.0000.00817.85
8.1.120.0070.00017.44
8.1.110.0060.00317.45
8.1.100.0040.00417.41
8.1.90.0000.00717.43
8.1.80.0030.00517.41
8.1.70.0000.00717.32
8.1.60.0000.00817.55
8.1.50.0030.00517.51
8.1.40.0080.00017.49
8.1.30.0040.00417.63
8.1.20.0050.00217.49
8.1.10.0000.00817.57
8.1.00.0040.00417.48
8.0.300.0000.00818.77
8.0.290.0050.00317.15
8.0.280.0000.00718.30
8.0.270.0000.00717.11
8.0.260.0000.00617.16
8.0.250.0060.00016.83
8.0.240.0030.00316.93
8.0.230.0070.00016.88
8.0.220.0030.00316.88
8.0.210.0030.00316.92
8.0.200.0030.00316.82
8.0.190.0050.00216.96
8.0.180.0040.00416.82
8.0.170.0000.00816.80
8.0.160.0080.00016.93
8.0.150.0000.00816.82
8.0.140.0030.00416.77
8.0.130.0050.00013.30
8.0.120.0000.00816.84
8.0.110.0040.00416.73
8.0.100.0070.00016.71
8.0.90.0000.00816.71
8.0.80.0110.01116.87
8.0.70.0040.00416.77
8.0.60.0020.00516.68
8.0.50.0000.00816.71
8.0.30.0070.01117.08
8.0.20.0090.00917.40
8.0.10.0040.00416.99
8.0.00.0110.00616.53
7.4.330.0020.00215.00
7.4.320.0030.00316.55
7.4.300.0030.00316.45
7.4.290.0000.00716.42
7.4.280.0040.00416.48
7.4.270.0040.00416.38
7.4.260.0000.00716.48
7.4.250.0070.00016.40
7.4.240.0000.00716.54
7.4.230.0070.00016.34
7.4.220.0030.01316.47
7.4.210.0110.00716.48
7.4.200.0070.00016.45
7.4.160.0100.01016.50
7.4.150.0100.00717.40
7.4.140.0080.01017.86
7.4.130.0100.00916.50
7.4.120.0080.01216.50
7.4.110.0190.00616.61
7.4.100.0070.01016.30
7.4.90.0110.00616.42
7.4.80.0120.01019.39
7.4.70.0130.00616.36
7.4.60.0090.00916.33
7.4.50.0030.00316.52
7.4.40.0060.00916.49
7.4.30.0120.00416.52
7.4.00.0070.00714.90
7.3.330.0040.00413.09
7.3.320.0030.00313.17
7.3.310.0000.00716.32
7.3.300.0030.00316.25
7.3.290.0150.00316.21
7.3.280.0120.00716.25
7.3.270.0060.01917.40
7.3.260.0120.00616.34
7.3.250.0100.01116.38
7.3.240.0150.00316.41
7.3.230.0130.00716.67
7.3.210.0160.00616.60
7.3.200.0090.00919.39
7.3.190.0060.00916.32
7.3.180.0060.01016.32
7.3.170.0080.00816.54
7.3.160.0100.01016.47
7.3.120.0070.01014.74
7.2.330.0150.00316.68
7.2.320.0100.01016.61
7.2.310.0120.01416.74
7.2.300.0080.00816.57
7.2.290.0100.01016.47
7.2.80.0070.00416.68
7.2.00.0030.00919.08
7.1.200.0000.01115.43
7.1.100.0040.00817.98
7.1.70.0000.00817.03
7.1.60.0060.01819.70
7.1.50.0090.01616.82
7.1.00.0030.07722.36
7.0.200.0030.00716.73
7.0.140.0030.07321.95
7.0.100.0200.03720.00
7.0.90.0000.03719.96
7.0.80.0170.06319.92
7.0.70.0200.07019.97
7.0.60.0130.07319.96
7.0.50.0100.04320.29
7.0.40.0100.06720.09
7.0.30.0070.05320.13
7.0.20.0100.07720.04
7.0.10.0030.04320.10
7.0.00.0070.03020.18
5.6.280.0030.07321.03
5.6.250.0030.07320.66
5.6.240.0070.04320.59
5.6.230.0070.06720.62
5.6.220.0000.05320.67
5.6.210.0070.07320.66
5.6.200.0200.07321.03
5.6.190.0030.07020.93
5.6.180.0000.04720.98
5.6.170.0030.04721.04
5.6.160.0070.03320.88
5.6.150.0070.09021.01
5.6.140.0000.05021.01
5.6.130.0070.04720.93
5.6.120.0070.04021.07
5.6.110.0030.04021.00
5.5.380.0030.05020.50
5.5.370.0070.07720.40
5.5.360.0100.07020.48
5.5.350.0100.07020.44
5.5.340.0030.04320.80
5.5.330.0100.04320.88
5.5.320.0100.07720.64
5.5.310.0070.07320.85
5.5.300.0000.04320.75
5.5.290.0070.04020.73
5.5.280.0070.03020.76
5.4.450.0100.03719.11
5.4.440.0070.03319.44

preferences:
40.07 ms | 401 KiB | 5 Q