3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(): iterable { return array(); } foo();

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.0070.01519.18
8.4.10.0130.00319.32
8.3.150.0040.01118.75
8.3.140.0040.00416.70
8.3.130.0000.00918.50
8.3.120.0030.00620.67
8.3.110.0090.00020.94
8.3.100.0150.00424.06
8.3.90.0000.00826.77
8.3.80.0040.00418.31
8.3.70.0110.01118.11
8.3.60.0150.00616.50
8.3.50.0070.00818.13
8.3.40.0040.01118.71
8.3.30.0070.00718.50
8.3.20.0040.00421.69
8.3.10.0050.00221.67
8.3.00.0060.00319.54
8.2.270.0190.00017.00
8.2.260.0110.00816.66
8.2.250.0090.00918.84
8.2.240.0030.00618.66
8.2.230.0040.00422.58
8.2.220.0050.00337.54
8.2.210.0070.00726.77
8.2.200.0000.00918.04
8.2.190.0040.01116.58
8.2.180.0060.00917.99
8.2.170.0170.00318.72
8.2.160.0130.00322.96
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00820.94
8.2.110.0060.00322.07
8.2.100.0040.00817.78
8.2.90.0080.00018.97
8.2.80.0040.00417.97
8.2.70.0040.00417.80
8.2.60.0000.00917.80
8.2.50.0050.00318.10
8.2.40.0040.00420.52
8.2.30.0070.00019.25
8.2.20.0000.00717.91
8.2.10.0000.00817.90
8.2.00.0060.00317.80
8.1.310.0080.00016.65
8.1.300.0040.00418.41
8.1.290.0080.00030.84
8.1.280.0160.00325.92
8.1.270.0030.00520.28
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00524.00
8.1.230.0110.00017.53
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.11
8.1.190.0090.00017.22
8.1.180.0060.00318.10
8.1.170.0060.00318.76
8.1.160.0070.00018.77
8.1.150.0000.00818.85
8.1.140.0000.00719.36
8.1.130.0040.00417.31
8.1.120.0080.00017.38
8.1.110.0000.00817.21
8.1.100.0040.00417.23
8.1.90.0050.00317.32
8.1.80.0070.00317.24
8.1.70.0030.00317.31
8.1.60.0030.00517.36
8.1.50.0040.00417.46
8.1.40.0110.00017.45
8.1.30.0050.00317.59
8.1.20.0000.00817.57
8.1.10.0030.00617.37
8.1.00.0040.00817.33
8.0.300.0080.00018.77
8.0.290.0080.00016.58
8.0.280.0040.00418.31
8.0.270.0060.00316.64
8.0.260.0000.00716.64
8.0.250.0000.00716.93
8.0.240.0000.00816.88
8.0.230.0070.00316.77
8.0.220.0040.00416.70
8.0.210.0070.00016.67
8.0.200.0070.00016.89
8.0.190.0000.00816.88
8.0.180.0040.00416.91
8.0.170.0040.00416.75
8.0.160.0040.00416.68
8.0.150.0000.00816.74
8.0.140.0030.00316.79
8.0.130.0000.00613.33
8.0.120.0040.00416.82
8.0.110.0030.00516.62
8.0.100.0040.00416.71
8.0.90.0000.00816.89
8.0.80.0070.00716.89
8.0.70.0040.00416.70
8.0.60.0000.00816.86
8.0.50.0040.00416.68
8.0.30.0070.01216.97
8.0.20.0110.00917.22
8.0.10.0100.01016.85
8.0.00.0110.00816.70
7.4.330.0000.00515.55
7.4.320.0070.00016.39
7.4.300.0000.00716.29
7.4.290.0040.00416.29
7.4.280.0000.00816.42
7.4.270.0040.00416.49
7.4.260.0060.00016.48
7.4.250.0040.00416.39
7.4.240.0050.00216.55
7.4.230.0040.00416.60
7.4.220.0070.00016.54
7.4.210.0050.00816.50
7.4.200.0000.00716.27
7.4.160.0130.00516.38
7.4.150.0090.01016.34
7.4.140.0060.01217.42
7.4.130.0120.00616.33
7.4.120.0100.00816.41
7.4.110.0070.01016.28
7.4.100.0090.01016.33
7.4.90.0070.01016.40
7.4.80.0060.01217.23
7.4.70.0070.00916.23
7.4.60.0080.00916.33
7.4.50.0070.00816.22
7.4.40.0080.00916.34
7.4.30.0120.00416.16
7.4.20.0130.00416.24
7.4.10.0080.01216.30
7.4.00.0060.01115.89
7.3.330.0020.00213.25
7.3.320.0030.00313.09
7.3.310.0000.00716.32
7.3.300.0040.00416.24
7.3.290.0070.00016.19
7.3.280.0070.01016.24
7.3.270.0100.00916.15
7.3.260.0110.00816.29
7.3.250.0060.01316.22
7.3.240.0110.00716.25
7.3.230.0120.00616.34
7.3.220.0060.01016.24
7.3.210.0090.00916.14
7.3.200.0080.01216.27
7.3.190.0110.00516.26
7.3.180.0040.01216.30
7.3.170.0140.00516.28
7.3.160.0090.00816.23
7.3.150.0060.01016.22
7.3.140.0150.00916.23
7.3.130.0100.00716.33
7.3.120.0040.01016.25
7.3.110.0110.00616.14
7.3.100.0100.00915.76
7.3.90.0040.01415.89
7.3.80.0090.00815.80
7.3.70.0100.00715.71
7.3.60.0090.00715.40
7.3.50.0080.00715.49
7.3.40.0100.00615.41
7.3.30.0100.00615.34
7.3.20.0140.00815.46
7.3.10.0130.01015.48
7.3.00.0140.00815.43
7.2.340.0180.00716.35
7.2.330.0140.01316.27
7.2.320.0150.01216.43
7.2.310.0160.01016.31
7.2.300.0140.01316.41
7.2.290.0160.01116.29
7.2.280.0210.00816.24
7.2.270.0140.01116.37
7.2.260.0170.01116.39
7.2.250.0150.01116.29
7.2.240.0190.01116.29
7.2.230.0180.01116.26
7.2.220.0120.01015.88
7.2.210.0140.00915.90
7.2.200.0170.00815.93
7.2.190.0110.00815.50
7.2.180.0110.00915.59
7.2.170.0100.00915.56
7.2.160.0100.01015.62
7.2.150.0180.00615.57
7.2.140.0120.00815.65
7.2.130.0180.00815.72
7.2.120.0200.01015.70
7.2.110.0150.00915.60
7.2.100.0140.00915.64
7.2.90.0130.00915.55
7.2.80.0150.00815.63
7.2.70.0210.01015.56
7.2.60.0240.00715.73
7.2.50.0170.00715.72
7.2.40.0370.01015.83
7.2.30.0230.00815.90
7.2.20.0400.00715.90
7.2.10.0250.01015.91
7.2.00.0270.00815.85
7.1.330.0180.00815.40
7.1.320.0120.01115.08
7.1.310.0150.00814.97
7.1.300.0130.00714.61
7.1.290.0150.01014.57
7.1.280.0190.01114.61
7.1.270.0170.00814.60
7.1.260.0320.00814.57
7.1.250.0170.00814.54
7.1.240.0210.00814.60
7.1.230.0180.00914.44
7.1.220.0160.00814.57
7.1.210.0180.01014.54
7.1.200.0180.00714.73
7.1.190.0180.00514.56
7.1.180.0140.01114.56
7.1.170.0370.00714.53
7.1.160.0290.00714.83
7.1.150.0370.01114.79
7.1.140.0370.01014.77
7.1.130.0290.01014.82
7.1.120.0290.00814.93
7.1.110.0230.01014.75
7.1.100.0270.00914.68
7.1.90.0280.01014.73
7.1.80.0270.00914.72
7.1.70.0270.00814.58
7.1.60.0400.01017.22
7.1.50.0330.01017.09
7.1.40.0440.00817.08
7.1.30.0320.01017.10
7.1.20.0340.01017.02
7.1.10.0300.00714.50
7.1.00.0270.00914.44
7.0.330.0210.00714.13
7.0.320.0180.00814.27
7.0.310.0170.00914.40
7.0.300.0150.00814.34
7.0.290.0110.01414.32
7.0.280.0180.00614.32
7.0.270.0150.00914.33
7.0.260.0200.01014.34
7.0.250.0180.00714.42
7.0.240.0270.01014.31
7.0.230.0170.00914.30
7.0.220.0190.00914.44
7.0.210.0140.01114.33
7.0.200.0160.00814.31
7.0.190.0130.00914.29
7.0.180.0150.00614.34
7.0.170.0160.00814.24
7.0.160.0130.00914.29
7.0.150.0130.01014.27
7.0.140.0150.00914.36
7.0.130.0220.00814.39
7.0.120.0240.00914.32
7.0.110.0180.00914.33
7.0.100.0170.01214.31
7.0.90.0160.00614.33
7.0.80.0150.01014.29
7.0.70.0180.01014.32
7.0.60.0120.01014.31
7.0.50.0170.00914.33
7.0.40.0170.00814.28
7.0.30.0170.00614.33
7.0.20.0310.00914.33
7.0.10.0230.00714.34
7.0.00.0160.01014.28
5.6.400.0100.01314.77
5.6.390.0140.01114.80
5.6.380.0170.00814.80
5.6.370.0170.01115.10
5.6.360.0100.01214.89
5.6.350.0160.00814.96
5.6.340.0180.00814.89
5.6.330.0130.01014.99
5.6.320.0160.00914.89
5.6.310.0150.00914.96
5.6.300.0140.01915.87
5.6.290.0100.02315.84
5.6.280.0130.02315.77
5.6.270.0150.01815.79
5.6.260.0130.02315.83
5.6.250.0150.01715.84
5.6.240.0150.02015.80
5.6.230.0130.02015.84
5.6.220.0150.01815.82
5.6.210.0170.01915.89
5.6.200.0140.01815.85
5.6.190.0140.02015.85
5.6.180.0150.01615.86
5.6.170.0140.01915.96
5.6.160.0150.02015.94
5.6.150.0150.01815.88
5.6.140.0140.01815.89
5.6.130.0110.02215.76
5.6.120.0160.01815.80
5.6.110.0150.01615.91
5.6.100.0170.01715.88
5.6.90.0120.02415.91
5.6.80.0120.02115.56
5.6.70.0120.02015.72
5.6.60.0160.01615.79
5.6.50.0100.01915.68
5.6.40.0160.01715.74
5.6.30.0140.01915.73
5.6.20.0130.02015.79
5.6.10.0160.01815.71
5.6.00.0180.01515.59
5.5.380.0170.00814.67
5.5.370.0130.01115.02
5.5.360.0150.00914.87
5.5.350.0180.00814.79
5.5.340.0140.01114.86
5.5.330.0140.01314.78
5.5.320.0140.00814.79
5.5.310.0150.00914.82
5.5.300.0140.00914.78
5.5.290.0130.01214.82
5.5.280.0130.01114.81
5.5.270.0150.01014.83
5.5.260.0130.01314.86
5.5.250.0170.00714.87
5.5.240.0140.01214.74
5.5.230.0140.01014.85
5.5.220.0160.00714.84
5.5.210.0130.01114.79
5.5.200.0170.00714.92
5.5.190.0160.00914.65
5.5.180.0140.01014.82
5.5.170.0120.01114.84
5.5.160.0150.01014.89
5.5.150.0150.01014.75
5.5.140.0150.00914.84
5.5.130.0130.01114.63
5.5.120.0130.01214.80
5.5.110.0130.01214.78
5.5.100.0160.00914.83
5.5.90.0170.00814.80
5.5.80.0130.01214.90
5.5.70.0120.01014.88
5.5.60.0170.00614.84
5.5.50.0170.01114.80
5.5.40.0200.00614.83
5.5.30.0170.00914.68
5.5.20.0130.01214.79
5.5.10.0090.01314.69
5.5.00.0130.00914.77
5.4.450.0120.00611.97
5.4.440.0120.00612.10
5.4.430.0110.00812.06
5.4.420.0100.00912.15
5.4.410.0110.00711.99
5.4.400.0130.00712.03
5.4.390.0080.00911.98
5.4.380.0130.00512.04
5.4.370.0140.00412.07
5.4.360.0140.00312.08
5.4.350.0120.00812.05
5.4.340.0110.00612.08
5.4.330.0100.00911.96
5.4.320.0120.00612.09
5.4.310.0120.00612.04
5.4.300.0120.00712.06
5.4.290.0140.00512.09
5.4.280.0130.00711.95
5.4.270.0130.00612.10
5.4.260.0100.00811.95
5.4.250.0120.00811.97
5.4.240.0120.00811.99
5.4.230.0120.00711.93
5.4.220.0130.00812.05
5.4.210.0120.00512.08
5.4.200.0120.00912.09
5.4.190.0130.00611.93
5.4.180.0100.00811.96
5.4.170.0090.00712.04
5.4.160.0120.00911.99
5.4.150.0120.00611.91
5.4.140.0120.00512.04
5.4.130.0130.00412.13
5.4.120.0090.00712.00
5.4.110.0100.00811.97
5.4.100.0130.00512.00
5.4.90.0090.00812.03
5.4.80.0110.00712.09
5.4.70.0100.00912.04
5.4.60.0100.00811.97
5.4.50.0140.00512.11
5.4.40.0110.00711.99
5.4.30.0130.00612.07
5.4.20.0100.00912.10
5.4.10.0110.00812.03
5.4.00.0090.00912.03
5.3.290.0090.00712.26
5.3.280.0100.00812.11
5.3.270.0100.00712.14
5.3.260.0110.00612.23
5.3.250.0080.00912.27
5.3.240.0090.00912.09
5.3.230.0090.00912.16
5.3.220.0120.00612.12
5.3.210.0140.00712.13
5.3.200.0090.00612.15
5.3.190.0100.00812.17
5.3.180.0120.00612.29
5.3.170.0110.00912.30
5.3.160.0090.00812.31
5.3.150.0120.00612.27
5.3.140.0090.00812.26
5.3.130.0100.00812.22
5.3.120.0090.01012.21
5.3.110.0100.00812.26
5.3.100.0130.00712.22
5.3.90.0130.00712.36
5.3.80.0090.00812.22
5.3.70.0110.00912.13
5.3.60.0150.00612.23
5.3.50.0090.00912.15
5.3.40.0130.00812.16
5.3.30.0110.00912.21
5.3.20.0100.00612.11
5.3.10.0110.00712.06
5.3.00.0140.00611.99
5.2.170.0110.00411.46
5.2.160.0080.00711.43
5.2.150.0110.00711.43
5.2.140.0090.00811.44
5.2.130.0110.00511.41
5.2.120.0100.00511.48
5.2.110.0100.00711.43
5.2.100.0110.00511.46
5.2.90.0120.00411.42
5.2.80.0130.00411.40
5.2.70.0110.00511.31
5.2.60.0110.00511.30
5.2.50.0080.00911.44
5.2.40.0110.00511.36
5.2.30.0120.00811.47
5.2.20.0090.00711.28
5.2.10.0130.00511.26
5.2.00.0100.00511.14
5.1.60.0060.00611.08
5.1.50.0080.00511.07
5.1.40.0080.00411.09
5.1.30.0090.00611.12
5.1.20.0060.00711.02
5.1.10.0080.00611.07
5.1.00.0080.00711.03
5.0.50.0070.00510.98
5.0.40.0070.00410.98
5.0.30.0080.00510.98
5.0.20.0060.00410.98
5.0.10.0070.00510.98
5.0.00.0060.00410.98
4.4.90.0060.00310.98
4.4.80.0050.00410.98
4.4.70.0050.00310.98
4.4.60.0070.00210.98
4.4.50.0050.00410.98
4.4.40.0060.00210.98
4.4.30.0050.00310.98
4.4.20.0050.00210.98
4.4.10.0040.00410.98
4.4.00.0060.00210.98
4.3.110.0060.00210.98
4.3.100.0040.00410.98
4.3.90.0060.00210.98
4.3.80.0030.00410.98
4.3.70.0030.00510.98
4.3.60.0040.00310.98
4.3.50.0050.00310.98
4.3.40.0060.00410.98
4.3.30.0020.00410.98
4.3.20.0040.00410.98
4.3.10.0030.00410.98
4.3.00.0060.00210.98

preferences:
46.35 ms | 403 KiB | 5 Q