3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i< 10000000000000; $i++ ){ echo $i . "<br>"; }

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.0140.02118.43
8.3.50.0150.01022.03
8.3.40.0300.00718.46
8.3.30.0290.00618.81
8.3.20.0030.00920.04
8.3.10.0000.01223.70
8.3.00.0060.00917.80
8.2.180.0210.00716.50
8.2.170.0280.00922.96
8.2.160.0490.01020.47
8.2.150.0030.00924.18
8.2.140.0080.00324.66
8.2.130.0120.00026.16
8.2.120.0030.00919.23
8.2.110.0140.00022.12
8.2.100.0140.00318.16
8.2.90.0030.00619.27
8.2.80.0060.00317.97
8.2.70.0090.00317.63
8.2.60.0100.00018.04
8.2.50.0090.00318.07
8.2.40.0090.00018.22
8.2.30.0040.00418.38
8.2.20.0040.00717.69
8.2.10.0090.00018.05
8.2.00.0070.00319.41
8.1.280.0190.00325.92
8.1.270.0110.00023.88
8.1.260.0060.00626.35
8.1.250.0110.00028.09
8.1.240.0060.00822.14
8.1.230.0170.00018.97
8.1.220.0030.00617.74
8.1.210.0070.00318.77
8.1.200.0090.00317.35
8.1.190.0070.00317.10
8.1.180.0090.00018.10
8.1.170.0050.00518.51
8.1.160.0000.00922.01
8.1.150.0030.00618.60
8.1.140.0030.00717.32
8.1.130.0030.00617.83
8.1.120.0030.00617.35
8.1.110.0100.00317.40
8.1.100.0030.00717.36
8.1.90.0070.00317.48
8.1.80.0030.00617.33
8.1.70.0080.00017.25
8.1.60.0030.00717.54
8.1.50.0060.00317.55
8.1.40.0070.00417.36
8.1.30.0030.00717.61
8.1.20.0060.00317.48
8.1.10.0050.00517.57
8.1.00.0100.00017.46
8.0.300.0070.00318.77
8.0.290.0000.00916.63
8.0.280.0030.00618.37
8.0.270.0060.00617.18
8.0.260.0030.00617.26
8.0.250.0080.00016.79
8.0.240.0040.00416.83
8.0.230.0060.00316.78
8.0.220.0030.00916.71
8.0.210.0040.00416.79
8.0.200.0050.00516.71
8.0.190.0090.00016.89
8.0.180.0110.00316.88
8.0.170.0070.00416.86
8.0.160.0060.00316.89
8.0.150.0080.01516.80
8.0.140.0100.00016.82
8.0.130.0040.00813.30
8.0.120.0060.00316.68
8.0.110.0100.00016.66
8.0.100.0100.00016.79
8.0.90.0030.00716.65
8.0.80.0130.01916.71
8.0.70.0060.00316.83
8.0.60.0070.00316.80
8.0.50.0060.00316.80
8.0.30.0310.02716.89
8.0.20.0480.03117.40
8.0.10.0000.01216.69
8.0.00.0360.03416.72
7.4.330.0040.00415.03
7.4.320.0090.00016.37
7.4.300.0000.00816.42
7.4.290.0090.00016.32
7.4.280.0080.00316.31
7.4.270.0060.00316.48
7.4.260.0000.01116.43
7.4.250.0060.00316.28
7.4.240.0030.00616.34
7.4.230.0000.00916.53
7.4.220.0150.01516.43
7.4.210.0230.00716.45
7.4.200.0030.00616.42
7.4.160.0520.02316.54
7.4.150.0490.02517.40
7.4.140.0460.01817.86
7.4.130.0540.02216.29
7.4.120.0700.02816.43
7.4.110.0650.01516.40
7.4.100.0660.04916.45
7.4.90.0520.01616.33
7.4.80.0580.03719.39
7.4.70.0880.02016.47
7.4.60.0170.01416.33
7.4.50.0130.00016.21
7.4.40.0280.03716.38
7.4.30.0450.02016.52
7.4.00.0100.01814.66
7.3.330.0000.00713.11
7.3.320.0070.00013.14
7.3.310.0090.00016.03
7.3.300.0090.00016.19
7.3.290.0110.02616.10
7.3.280.0140.02216.16
7.3.270.0700.01717.40
7.3.260.0460.03216.57
7.3.250.0390.02416.24
7.3.240.0350.02516.20
7.3.230.0900.03016.53
7.3.210.0130.02516.02
7.3.200.0180.02219.39
7.3.190.0160.01616.38
7.3.180.0290.02616.43
7.3.170.0720.03216.61
7.3.160.0200.02716.20
7.3.120.0140.01414.96
7.2.330.0530.02316.49
7.2.320.0630.04316.29
7.2.310.0150.02116.57
7.2.300.0160.01316.70
7.2.290.0440.01116.63
7.1.70.0030.00716.98
7.1.60.0220.00619.70
7.1.50.0190.00917.01
7.0.200.0110.00716.82

preferences:
37.68 ms | 401 KiB | 5 Q