3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class_number = 7; $klassliste = range(1, $class_number); var_dump($klassliste);

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.5.30.0070.01120.16
8.5.20.0090.00720.11
8.5.10.0110.00618.74
8.5.00.0140.00819.95
8.4.180.0130.00920.52
8.4.170.0090.01320.23
8.4.160.0100.01023.68
8.4.150.0080.00316.82
8.4.140.0110.01217.30
8.4.130.0020.00718.93
8.4.120.0100.01019.26
8.4.110.0150.00517.70
8.4.100.0110.00917.30
8.4.90.0070.00620.53
8.4.80.0110.00818.77
8.4.70.0100.01020.52
8.4.60.0040.00420.52
8.4.50.0120.00820.50
8.4.40.0070.01419.23
8.4.30.0000.00920.46
8.4.20.0100.01017.72
8.4.10.0100.01019.28
8.3.300.0150.00620.73
8.3.290.0150.00720.64
8.3.280.0100.01018.28
8.3.270.0120.00816.40
8.3.260.0080.01016.80
8.3.250.0130.00616.54
8.3.240.0130.00716.27
8.3.230.0050.00616.48
8.3.220.0060.00218.81
8.3.210.0140.00716.62
8.3.200.0050.00416.38
8.3.190.0110.00517.04
8.3.180.0020.00618.75
8.3.170.0090.00617.05
8.3.160.0030.01518.43
8.3.150.0080.00016.21
8.3.140.0050.00320.91
8.3.130.0060.00316.45
8.3.120.0110.00718.95
8.3.110.0080.00020.94
8.3.100.0030.00618.43
8.3.90.0040.00426.77
8.3.80.0000.01116.63
8.3.70.0110.00416.58
8.3.60.0060.00916.50
8.3.50.0040.01120.11
8.3.40.0100.01019.03
8.3.30.0110.00318.80
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.300.0120.00922.21
8.2.290.0060.00416.48
8.2.280.0110.00618.18
8.2.270.0140.00316.48
8.2.260.0000.00816.87
8.2.250.0080.00818.44
8.2.240.0080.00017.32
8.2.230.0080.00822.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0060.00316.75
8.2.190.0100.01016.58
8.2.180.0070.01125.92
8.2.170.0150.00019.01
8.2.160.0140.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0060.00326.16
8.2.110.0080.00319.39
8.2.100.0080.00317.72
8.2.90.0030.00617.50
8.2.80.0050.00317.97
8.2.70.0090.00017.50
8.2.60.0000.00817.38
8.2.50.0000.00817.98
8.2.40.0040.00418.22
8.2.30.0000.00817.91
8.2.20.0040.00420.30
8.2.10.0030.00517.58
8.2.00.0000.00719.17
8.1.340.0130.00717.44
8.1.330.0090.01016.20
8.1.320.0080.00616.13
8.1.310.0140.00418.33
8.1.300.0040.00415.98
8.1.290.0060.00330.84
8.1.280.0100.00325.92
8.1.270.0030.00523.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.01217.13
8.1.230.0060.00617.82
8.1.220.0030.00517.79
8.1.210.0030.00618.77
8.1.200.0050.00517.13
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0080.00017.65
8.1.160.0050.00218.73
8.1.150.0040.00418.58
8.1.140.0070.00017.45
8.1.130.0030.00318.84
8.1.120.0000.00817.39
8.1.110.0000.00717.34
8.1.100.0050.00317.25
8.1.90.0000.00817.38
8.1.80.0000.00717.30
8.1.70.0000.00917.37
8.1.60.0080.00017.45
8.1.50.0000.00717.46
8.1.40.0030.00517.43
8.1.30.0220.00517.53
8.1.20.0170.00917.41
8.1.10.0200.00417.27
8.1.00.0230.00017.23
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0030.00318.41
8.0.270.0080.00016.69
8.0.260.0060.00018.38
8.0.250.0000.00716.87
8.0.240.0030.00316.76
8.0.230.0040.00416.92
8.0.220.0000.00716.73
8.0.210.0070.00016.83
8.0.200.0070.00016.89
8.0.190.0060.00316.85
8.0.180.0030.00316.73
8.0.170.0000.00916.71
8.0.160.0200.00016.83
8.0.150.0160.00516.79
8.0.140.0120.00816.78
8.0.130.0220.00016.77
8.0.120.0210.00416.80
8.0.110.0160.00316.59
8.0.100.0180.00316.73
8.0.90.0160.00416.79
8.0.80.0150.00916.78
8.0.70.0160.01016.70
8.0.60.0180.00316.72
8.0.50.0130.00916.76
8.0.30.0170.00316.77
8.0.20.0180.00416.89
8.0.10.0180.00416.86
7.4.330.0000.00615.55
7.4.320.0000.00916.38
7.4.300.0030.00316.49
7.4.290.0030.00316.45
7.4.280.0170.00916.52
7.4.270.0260.00316.42
7.4.260.0180.01016.40
7.4.250.0260.00016.44
7.4.240.0210.00516.48
7.4.230.0170.00916.48
7.4.220.0110.01116.32
7.4.210.0160.00416.53
7.4.200.0200.00616.45
7.4.190.0160.00616.37
7.4.180.0160.00316.39
7.4.160.0160.00316.58
7.4.150.0170.00316.50
7.4.140.0190.00016.30
7.4.130.0140.00816.22
7.4.120.0130.00916.43
7.4.110.0120.00916.34
7.4.100.0170.00316.47
7.4.90.0140.00716.25
7.4.80.0200.00016.18
7.4.70.0130.00916.30
7.4.60.0250.00016.32
7.4.50.0140.00516.07
7.4.40.0120.00816.14
7.4.30.0130.00716.24
7.4.20.0200.00416.28
7.4.10.0200.00016.33
7.4.00.0180.00316.30

preferences:
44.47 ms | 1256 KiB | 5 Q