3v4l.org

run code in 200+ PHP versions simultaneously
<?php function foo(): void { } foo();
based on aLcod

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)
7.4.00.0080.00814.96
7.3.120.0080.00814.69
7.3.110.0130.00514.61
7.3.100.0080.00714.69
7.3.90.0080.00714.66
7.3.80.0070.00714.68
7.3.70.0070.00714.57
7.3.60.0080.00614.70
7.3.50.0090.00714.60
7.3.40.0070.00714.65
7.3.30.0060.00914.59
7.3.20.0110.00715.38
7.3.10.0150.00915.43
7.3.00.0080.00615.48
7.2.250.0040.01314.73
7.2.240.0080.00914.64
7.2.230.0050.01014.90
7.2.220.0070.00714.92
7.2.210.0080.00714.70
7.2.200.0070.00714.72
7.2.190.0070.00914.72
7.2.180.0060.00914.78
7.2.170.0070.00714.79
7.2.160.0080.00914.74
7.2.150.0100.00815.19
7.2.140.0120.00615.17
7.2.130.0080.00815.39
7.2.120.0080.01015.50
7.2.110.0090.00715.42
7.2.100.0100.00715.41
7.2.90.0100.00815.41
7.2.80.0090.00815.39
7.2.70.0100.00915.55
7.2.60.0070.00915.49
7.2.50.0070.01015.50
7.2.40.0070.01015.55
7.2.30.0080.01115.50
7.2.20.0120.00715.52
7.2.10.0090.00915.41
7.2.00.0070.00915.40
7.1.330.0070.00714.43
7.1.320.0070.00714.16
7.1.310.0090.00614.37
7.1.300.0070.00914.16
7.1.290.0090.00614.17
7.1.280.0060.01014.19
7.1.270.0080.00714.19
7.1.260.0160.00814.32
7.1.250.0100.00714.27
7.1.240.0110.00714.07
7.1.230.0120.00714.21
7.1.220.0090.00814.25
7.1.210.0100.01014.16
7.1.200.0110.00914.15
7.1.190.0130.00614.18
7.1.180.0120.00614.21
7.1.170.0120.00714.16
7.1.160.0120.00714.24
7.1.150.0150.00614.19
7.1.140.0180.00814.17
7.1.130.0120.00614.17
7.1.120.0130.00614.16
7.1.110.0110.00814.30
7.1.100.0130.00614.21
7.1.90.0230.00614.15
7.1.80.0100.00814.26
7.1.70.0120.01014.14
7.1.60.0090.01014.15
7.1.50.0110.00814.18
7.1.40.0110.00914.17
7.1.30.0100.00914.14
7.1.20.0110.00914.17
7.1.10.0090.00914.23
7.1.00.0140.00814.27
7.0.330.0100.00913.76
7.0.320.0130.00513.50
7.0.310.0120.00813.27
7.0.300.0110.00913.33
7.0.290.0140.00713.30
7.0.280.0160.00813.30
7.0.270.0110.00913.42
7.0.260.0100.00813.33
7.0.250.0120.00813.38
7.0.240.0110.00713.44
7.0.230.0140.01113.39
7.0.220.0160.00613.45
7.0.210.0100.00913.44
7.0.200.0120.00913.38
7.0.190.0090.01013.28
7.0.180.0130.00713.44
7.0.170.0130.00613.35
7.0.160.0120.01013.38
7.0.150.0070.01013.45
7.0.140.0340.00613.44
7.0.130.0140.00713.38
7.0.120.0110.00813.37
7.0.110.0090.00813.41
7.0.100.0080.00913.45
7.0.90.0090.00813.43
7.0.80.0140.00413.42
7.0.70.0110.00613.48
7.0.60.0130.00513.43
7.0.50.0080.01013.47
7.0.40.0150.00813.31
7.0.30.0150.00413.45
7.0.20.0130.00813.41
7.0.10.0100.01013.46
7.0.00.0110.00613.41
5.6.400.0080.00914.18
5.6.390.0110.00814.15
5.6.380.0080.01214.03
5.6.370.0110.01114.09
5.6.360.0060.01413.93
5.6.350.0120.00713.92
5.6.340.0100.01013.99
5.6.330.0140.00614.08
5.6.320.0100.01114.04
5.6.310.0120.00913.97
5.6.300.0100.00713.99
5.6.290.0080.01014.12
5.6.280.0120.00614.01
5.6.270.0110.00813.96
5.6.260.0090.00913.99
5.6.250.0150.00713.97
5.6.240.0080.00914.09
5.6.230.0130.00713.94
5.6.220.0090.01114.10
5.6.210.0120.00714.00
5.6.200.0100.00913.89
5.6.190.0100.00913.88
5.6.180.0110.00514.05
5.6.170.0130.00713.93
5.6.160.0130.00914.00
5.6.150.0080.01214.03
5.6.140.0130.00814.02
5.6.130.0110.00813.93
5.6.120.0120.00613.91
5.6.110.0100.00914.04
5.6.100.0110.00813.98
5.6.90.0110.00813.92
5.6.80.0100.01013.86
5.6.70.0060.01213.98
5.6.60.0110.01013.98
5.6.50.0120.00713.92
5.6.40.0110.00813.91
5.6.30.0100.00813.96
5.6.20.0150.00513.88
5.6.10.0110.00913.91
5.6.00.0170.00813.94
5.5.380.0140.00614.12
5.5.370.0130.00714.03
5.5.360.0110.01014.00
5.5.350.0110.01013.89
5.5.340.0130.00613.83
5.5.330.0080.01114.05
5.5.320.0120.00513.89
5.5.310.0130.00913.97
5.5.300.0100.00913.92
5.5.290.0120.00913.97
5.5.280.0120.00713.93
5.5.270.0130.00713.97
5.5.260.0070.01213.88
5.5.250.0100.01013.81
5.5.240.0100.01013.85
5.5.230.0150.00813.75
5.5.220.0140.00913.88
5.5.210.0120.00713.91
5.5.200.0130.00613.88
5.5.190.0130.01013.88
5.5.180.0090.01013.88
5.5.170.0120.01013.97
5.5.160.0190.01213.84
5.5.150.0140.01213.93
5.5.140.0170.00613.94
5.5.130.0140.01013.83
5.5.120.0170.01314.02
5.5.110.0130.01013.92
5.5.100.0130.00913.92
5.5.90.0110.01013.90
5.5.80.0150.00913.88
5.5.70.0110.00913.81
5.5.60.0120.00713.85
5.5.50.0140.01013.99
5.5.40.0190.00813.91
5.5.30.0100.01013.81
5.5.20.0150.01013.90
5.5.10.0150.01013.86
5.5.00.0180.00913.78
5.4.450.0080.00711.49
5.4.440.0080.00611.38
5.4.430.0080.00711.39
5.4.420.0110.00311.50
5.4.410.0110.00511.51
5.4.400.0070.00711.43
5.4.390.0090.00711.42
5.4.380.0070.00911.44
5.4.370.0100.00511.43
5.4.360.0110.00611.41
5.4.350.0070.00911.45
5.4.340.0090.00711.42
5.4.330.0170.00611.37
5.4.320.0170.00511.39
5.4.310.0160.00511.43
5.4.300.0100.00611.40
5.4.290.0130.00511.42
5.4.280.0090.00511.47
5.4.270.0090.00711.36
5.4.260.0090.00911.46
5.4.250.0090.00611.36
5.4.240.0110.00411.36
5.4.230.0090.00811.49
5.4.220.0120.00311.38
5.4.210.0110.00611.45
5.4.200.0140.00611.36
5.4.190.0100.00811.44
5.4.180.0100.00911.34
5.4.170.0130.00611.38
5.4.160.0120.00611.45
5.4.150.0070.00811.35
5.4.140.0100.00711.44
5.4.130.0120.00811.43
5.4.120.0090.00611.40
5.4.110.0130.00611.38
5.4.100.0160.00211.41
5.4.90.0090.00911.41
5.4.80.0090.00711.44
5.4.70.0100.00511.41
5.4.60.0060.01011.48
5.4.50.0170.00311.42
5.4.40.0100.00811.45
5.4.30.0100.00811.35
5.4.20.0090.00811.46
5.4.10.0080.00811.42
5.4.00.0110.00511.38
5.3.290.0090.01111.27
5.3.280.0080.00611.15
5.3.270.0150.00411.25
5.3.260.0110.00611.18
5.3.250.0090.00511.26
5.3.240.0090.00611.14
5.3.230.0090.00711.20
5.3.220.0060.00811.17
5.3.210.0110.00811.11
5.3.200.0130.00311.19
5.3.190.0090.00611.23
5.3.180.0120.00611.28
5.3.170.0120.00511.29
5.3.160.0110.00511.29
5.3.150.0120.00511.21
5.3.140.0100.00511.22
5.3.130.0120.00711.25
5.3.120.0080.00711.19
5.3.110.0090.00411.24
5.3.100.0070.00711.18
5.3.90.0100.00411.29
5.3.80.0110.00611.20
5.3.70.0140.00211.20
5.3.60.0100.00511.17
5.3.50.0070.00711.17
5.3.40.0140.00311.17
5.3.30.0080.00711.17
5.3.20.0080.00611.19
5.3.10.0090.00611.15
5.3.00.0090.00511.08
5.2.170.0080.00310.89
5.2.160.0090.00410.92
5.2.150.0080.00410.91
5.2.140.0080.00410.89
5.2.130.0060.00510.91
5.2.120.0070.00510.90
5.2.110.0060.00510.89
5.2.100.0080.00510.89
5.2.90.0070.00510.90
5.2.80.0050.00710.89
5.2.70.0070.00610.89
5.2.60.0100.00410.89
5.2.50.0070.00510.90
5.2.40.0080.00510.89
5.2.30.0090.00510.89
5.2.20.0080.00310.89
5.2.10.0080.00510.89
5.2.00.0070.00410.89
5.1.60.0080.00210.89
5.1.50.0060.00510.89
5.1.40.0070.00210.89
5.1.30.0070.00410.89
5.1.20.0050.00510.89
5.1.10.0070.00410.89
5.1.00.0060.00310.89
5.0.50.0040.00510.89
5.0.40.0070.00310.89
5.0.30.0050.00410.89
5.0.20.0050.00410.89
5.0.10.0070.00110.89
5.0.00.0050.00310.89
4.4.90.0040.00610.89
4.4.80.0040.00410.89
4.4.70.0040.00310.89
4.4.60.0040.00310.89
4.4.50.0040.00310.89
4.4.40.0030.00310.89
4.4.30.0040.00310.89
4.4.20.0040.00310.89
4.4.10.0030.00510.89
4.4.00.0050.00310.89
4.3.110.0040.00410.89
4.3.100.0030.00410.89
4.3.90.0050.00310.89
4.3.80.0020.00510.89
4.3.70.0030.00510.89
4.3.60.0030.00310.89
4.3.50.0060.00110.89
4.3.40.0050.00310.89
4.3.30.0030.00410.89
4.3.20.0030.00310.89
4.3.10.0040.00210.89
4.3.00.0040.00210.89