3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 6; $i <= 1000; $i += 9){ 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.4.20.0110.01117.55
8.4.10.0040.00417.71
8.3.150.0100.00617.16
8.3.140.0000.00816.80
8.3.130.0040.00416.63
8.3.120.0050.00520.68
8.3.110.0140.00716.65
8.3.100.0040.00424.06
8.3.90.0110.00726.77
8.3.80.0030.00716.50
8.3.70.0120.00618.56
8.3.60.0110.01118.43
8.3.50.0070.01221.08
8.3.40.0120.00318.66
8.3.30.0140.00018.59
8.3.20.0080.00018.78
8.3.10.0000.00820.90
8.3.00.0070.00023.48
8.2.270.0150.00317.11
8.2.260.0090.00918.56
8.2.250.0030.00616.56
8.2.240.0060.00317.18
8.2.230.0090.00020.94
8.2.220.0060.00337.54
8.2.210.0070.00026.77
8.2.200.0050.00516.75
8.2.190.0060.01516.63
8.2.180.0090.00616.32
8.2.170.0040.01122.96
8.2.160.0140.00022.12
8.2.150.0090.00924.18
8.2.140.0040.00424.66
8.2.130.0040.01126.16
8.2.120.0060.00319.48
8.2.110.0040.00720.52
8.2.100.0030.00917.79
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0040.00419.94
8.2.30.0030.00618.00
8.2.20.0040.00417.63
8.2.10.0040.00417.62
8.2.00.0040.00417.75
8.1.310.0030.00516.84
8.1.300.0080.00816.13
8.1.290.0000.00918.88
8.1.280.0140.00325.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.86
8.1.230.0090.00323.75
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0040.00817.22
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0030.00618.28
8.1.160.0000.00921.93
8.1.150.0040.00418.57
8.1.140.0040.00417.42
8.1.130.0050.00317.78
8.1.120.0000.00817.48
8.1.110.0070.00317.37
8.1.100.0080.00217.37
8.1.90.0050.00717.35
8.1.80.0080.00117.38
8.1.70.0070.00517.31
8.1.60.0100.00517.53
8.1.50.0040.00517.42
8.1.40.0090.00517.42
8.1.30.0030.01017.60
8.1.20.0100.00417.53
8.1.10.0110.00317.36
8.1.00.0080.00617.45
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0070.00018.38
8.0.270.0060.00316.82
8.0.260.0030.00316.67
8.0.250.0000.00716.95
8.0.240.0060.00616.91
8.0.230.0100.00216.92
8.0.220.0080.00416.78
8.0.210.0040.00716.79
8.0.200.0080.00416.92
8.0.190.0070.00516.87
8.0.180.0090.00216.85
8.0.170.0130.00016.87
8.0.160.0040.00816.84
8.0.150.0060.00716.82
8.0.140.0100.00216.82
8.0.130.0080.00614.98
8.0.120.0050.00716.86
8.0.110.0060.00516.82
8.0.100.0040.00716.90
8.0.90.0070.00416.85
8.0.80.0040.01316.82
8.0.70.0060.00616.81
8.0.60.0060.00616.78
8.0.50.0000.01116.89
8.0.30.0160.00716.88
8.0.20.0160.00717.11
8.0.10.0170.00916.95
8.0.00.0110.01016.83
7.4.330.0020.00214.78
7.4.320.0040.00716.39
7.4.300.0080.00316.43
7.4.290.0080.00416.46
7.4.280.0080.00416.47
7.4.270.0050.00616.44
7.4.260.0070.00416.47
7.4.250.0090.00316.53
7.4.240.0090.00416.54
7.4.230.0080.00516.43
7.4.220.0140.00316.51
7.4.210.0120.00416.53
7.4.200.0040.00716.46
7.4.190.0090.00216.53
7.4.180.0120.00316.49
7.4.160.0130.00916.49
7.4.150.0160.00916.74
7.4.140.0150.00716.91
7.4.130.0130.00816.48
7.4.120.0140.00816.42
7.4.110.0110.01016.40
7.4.100.0110.00816.47
7.4.90.0140.00816.42
7.4.80.0120.00916.99
7.4.70.0110.01016.37
7.4.60.0100.00916.41
7.4.50.0140.00716.29
7.4.40.0130.00816.40
7.4.30.0140.00616.48
7.4.20.0140.00616.41
7.4.10.0100.01016.37
7.4.00.0070.01016.01
7.3.330.0070.00414.45
7.3.320.0020.00714.60
7.3.310.0050.00516.02
7.3.300.0060.00516.12
7.3.290.0080.00316.14
7.3.280.0090.00816.24
7.3.270.0170.00516.53
7.3.260.0130.00816.88
7.3.250.0130.00716.29
7.3.240.0130.00716.25
7.3.230.0130.00616.23
7.3.220.0120.00816.13
7.3.210.0170.00616.12
7.3.200.0150.00616.27
7.3.190.0140.00816.17
7.3.180.0140.00816.15
7.3.170.0150.00616.19
7.3.160.0100.01216.22
7.3.150.0140.00716.17
7.3.140.0110.00916.25
7.3.130.0140.00716.21
7.3.120.0130.00815.87
7.3.110.0120.00815.97
7.3.100.0110.01015.83
7.3.90.0110.00815.70
7.3.80.0110.00915.51
7.3.70.0120.00715.53
7.3.60.0110.00815.45
7.3.50.0090.00815.49
7.3.40.0110.00615.46
7.3.30.0100.00815.36
7.3.20.0320.00915.73
7.3.10.0330.00715.68
7.3.00.0310.00915.68
7.2.340.0180.00516.26
7.2.330.0140.00816.35
7.2.320.0160.00616.43
7.2.310.0110.01116.30
7.2.300.0150.00716.35
7.2.290.0140.00916.32
7.2.280.0160.00616.29
7.2.270.0160.00616.33
7.2.260.0160.00716.41
7.2.250.0150.00816.26
7.2.240.0130.00916.22
7.2.230.0110.00816.08
7.2.220.0130.00815.94
7.2.210.0130.00715.71
7.2.200.0080.01015.82
7.2.190.0130.00915.69
7.2.180.0110.00815.68
7.2.170.0130.00715.70
7.2.160.0100.01015.56
7.2.150.0290.00815.91
7.2.140.0350.00715.97
7.2.130.0310.00816.08
7.2.120.0370.00715.96
7.2.110.0360.01016.01
7.2.100.0410.00815.87
7.2.90.0340.00815.83
7.2.80.0370.00915.80
7.2.70.0370.00815.87
7.2.60.0320.00715.88
7.2.50.0310.00915.84
7.2.40.0460.00815.94
7.2.30.0390.00815.97
7.2.20.0440.00815.88
7.2.10.0440.00915.81
7.2.00.0410.00815.90
7.1.330.0160.00815.12
7.1.320.0100.01115.06
7.1.310.0100.01114.99
7.1.300.0140.01015.03
7.1.290.0120.00914.99
7.1.280.0130.00715.02
7.1.270.0270.00714.88
7.1.260.0270.00914.89
7.1.250.0330.00714.81
7.1.240.0390.01014.76
7.1.230.0420.00914.75
7.1.220.0440.00714.66
7.1.210.0420.00914.65
7.1.200.0390.00714.70
7.1.190.0380.00814.60
7.1.180.0400.00714.59
7.1.170.0400.01014.58
7.1.160.0510.00914.72
7.1.150.0430.00714.71
7.1.140.0480.00914.58
7.1.130.0440.00714.56
7.1.120.0470.00914.63
7.1.110.0420.01114.54
7.1.100.0470.00714.60
7.1.90.0510.00914.69
7.1.80.0490.00914.70
7.1.70.0400.00814.67
7.1.60.0410.00917.50
7.1.50.0380.00717.44
7.1.40.0470.00717.46
7.1.30.0400.00817.39
7.1.20.0390.00817.35
7.1.10.0360.00914.58
7.1.00.0370.01014.61
7.0.330.0350.00814.40
7.0.320.0420.00714.47
7.0.310.0400.00814.29
7.0.300.0360.00914.29
7.0.290.0550.00814.44
7.0.280.0390.00814.37
7.0.270.0480.00714.34
7.0.260.0440.00914.32
7.0.250.0450.00814.38
7.0.240.0420.01014.36
7.0.230.0480.00914.54
7.0.220.0450.00814.46
7.0.210.0450.00714.42
7.0.200.0370.00814.45
7.0.190.0420.00714.40
7.0.180.0370.00814.32
7.0.170.0500.00714.40
7.0.160.0400.00814.33
7.0.150.0320.00714.36
7.0.140.0340.00714.35
7.0.130.0380.00914.39
7.0.120.0340.00814.41
7.0.110.0350.00714.38
7.0.100.0310.01014.38
7.0.90.0270.00914.25
7.0.80.0390.00914.37
7.0.70.0370.00814.29
7.0.60.0310.01014.34
7.0.50.0380.00914.38
7.0.40.0400.00814.38
7.0.30.0520.00914.31
7.0.20.0260.00914.31
7.0.10.0290.00714.33
7.0.00.0310.00914.26
5.6.400.0150.00814.99
5.6.390.0150.00714.99
5.6.380.0160.00814.92
5.6.370.0130.01114.88
5.6.360.0130.01114.86
5.6.350.0170.00714.89
5.6.340.0150.00814.94
5.6.330.0140.01014.90
5.6.320.0140.00914.88
5.6.310.0150.01114.92
5.6.300.0150.01315.11
5.6.290.0160.01315.17
5.6.280.0150.01215.13
5.6.270.0130.01515.15
5.6.260.0150.01215.07
5.6.250.0140.01215.12
5.6.240.0140.01415.11
5.6.230.0160.01115.12
5.6.220.0160.01115.15
5.6.210.0150.01315.10
5.6.200.0160.01115.15
5.6.190.0140.01315.14
5.6.180.0140.01115.17
5.6.170.0140.01315.10
5.6.160.0150.01315.14
5.6.150.0170.01115.08
5.6.140.0140.01215.13
5.6.130.0140.01415.16
5.6.120.0140.01115.15
5.6.110.0160.01115.11
5.6.100.0150.01115.14
5.6.90.0130.01315.09
5.6.80.0140.01115.03
5.6.70.0140.01115.06
5.6.60.0140.01315.05
5.6.50.0120.01315.07
5.6.40.0140.01215.06
5.6.30.0130.01215.04
5.6.20.0140.01115.08
5.6.10.0120.01315.08
5.6.00.0130.01115.02
5.5.380.0140.01114.37
5.5.370.0150.01214.23
5.5.360.0130.01214.27
5.5.350.0150.01114.20
5.5.340.0130.01114.18
5.5.330.0140.01314.28
5.5.320.0130.01214.22
5.5.310.0120.01414.20
5.5.300.0150.01014.26
5.5.290.0130.01014.21
5.5.280.0140.01014.21
5.5.270.0140.01114.25
5.5.260.0130.01214.23
5.5.250.0150.01014.26
5.5.240.0130.01214.19
5.5.230.0130.01214.16
5.5.220.0110.01314.12
5.5.210.0130.01114.22
5.5.200.0150.01214.10
5.5.190.0140.01014.17
5.5.180.0150.01114.18
5.5.170.0130.00914.31
5.5.160.0140.01114.19
5.5.150.0140.01014.15
5.5.140.0150.01014.13
5.5.130.0120.01214.10
5.5.120.0140.01214.18
5.5.110.0150.01114.17
5.5.100.0140.01014.17
5.5.90.0130.00914.12
5.5.80.0140.01014.13
5.5.70.0140.01114.08
5.5.60.0140.01014.12
5.5.50.0140.01114.09
5.5.40.0120.01314.14
5.5.30.0140.01214.19
5.5.20.0110.01214.16
5.5.10.0120.01214.12
5.5.00.0120.01514.13
5.4.450.0120.00912.12
5.4.440.0100.01012.17
5.4.430.0090.01112.16
5.4.420.0110.00912.13
5.4.410.0100.01012.17
5.4.400.0110.01012.12
5.4.390.0120.00912.07
5.4.380.0110.00912.04
5.4.370.0130.00812.11
5.4.360.0130.00912.09
5.4.350.0120.00812.12
5.4.340.0120.01012.08
5.4.330.0120.00511.75
5.4.320.0110.00912.05
5.4.310.0120.00812.08
5.4.300.0110.00912.04
5.4.290.0120.00812.11
5.4.280.0110.01112.10
5.4.270.0100.01012.11
5.4.260.0100.01012.09
5.4.250.0110.01012.04
5.4.240.0110.00912.10
5.4.230.0110.00912.05
5.4.220.0100.01012.02
5.4.210.0100.01012.05
5.4.200.0120.00912.09
5.4.190.0120.00912.07
5.4.180.0110.01012.04
5.4.170.0110.00912.05
5.4.160.0110.01012.05
5.4.150.0130.00912.00
5.4.140.0110.00911.97
5.4.130.0120.00811.97
5.4.120.0120.00811.94
5.4.110.0100.00911.95
5.4.100.0120.00811.92
5.4.90.0120.00811.97
5.4.80.0110.01111.94
5.4.70.0120.00811.94
5.4.60.0110.00911.95
5.4.50.0100.01111.90
5.4.40.0110.01011.93
5.4.30.0100.00911.92
5.4.20.0100.01011.97
5.4.10.0130.00711.92
5.4.00.0110.01011.88
5.3.290.0110.00911.87
5.3.280.0100.01011.83
5.3.270.0110.01111.83
5.3.260.0100.01011.84
5.3.250.0120.00811.82
5.3.240.0100.01011.79
5.3.230.0110.00811.81
5.3.220.0110.01011.73
5.3.210.0110.00811.72
5.3.200.0110.00811.71
5.3.190.0120.01011.76
5.3.180.0110.00811.84
5.3.170.0100.00911.85
5.3.160.0120.00811.87
5.3.150.0140.00611.84
5.3.140.0090.01011.80
5.3.130.0110.01011.77
5.3.120.0130.00911.72
5.3.110.0130.00711.72
5.3.100.0100.00911.71
5.3.90.0110.01011.78
5.3.80.0090.01011.66
5.3.70.0120.01011.64
5.3.60.0110.00911.69
5.3.50.0100.00911.70
5.3.40.0120.00911.69
5.3.30.0100.00911.72
5.3.20.0110.00911.61
5.3.10.0110.00911.54
5.3.00.0100.00911.59
5.0.30.0020.0059.84

preferences:
30.3 ms | 403 KiB | 5 Q