3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(): void { } 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.0170.00320.25
8.4.10.0170.00319.25
8.3.150.0090.00919.06
8.3.140.0040.00417.06
8.3.130.0090.00016.56
8.3.120.0090.00620.67
8.3.110.0030.00618.41
8.3.100.0100.00016.73
8.3.90.0030.00526.77
8.3.80.0030.00618.56
8.3.70.0100.01016.63
8.3.60.0150.00318.43
8.3.50.0120.00518.14
8.3.40.0120.00318.54
8.3.30.0030.01318.59
8.3.20.0000.00819.03
8.3.10.0040.00423.65
8.3.00.0070.00020.46
8.2.270.0000.00817.34
8.2.260.0080.00016.26
8.2.250.0070.01118.18
8.2.240.0130.00618.57
8.2.230.0040.00420.94
8.2.220.0070.01724.06
8.2.210.0030.01726.77
8.2.200.0090.00018.16
8.2.190.0120.00316.58
8.2.180.0120.00318.09
8.2.170.0070.00718.96
8.2.160.0110.00422.96
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0060.00326.16
8.2.120.0070.00020.72
8.2.110.0070.00321.02
8.2.100.0070.00417.66
8.2.90.0000.00718.16
8.2.80.0040.00417.97
8.2.70.0000.00917.38
8.2.60.0050.00317.50
8.2.50.0040.00417.38
8.2.40.0080.00019.13
8.2.30.0000.01017.87
8.2.20.0030.00517.82
8.2.10.0070.00017.89
8.2.00.0030.00517.95
8.1.310.0130.00616.74
8.1.300.0120.00618.02
8.1.290.0090.00030.84
8.1.280.0140.00325.92
8.1.270.0040.00422.19
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0070.00323.80
8.1.230.0040.00720.90
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0080.00017.10
8.1.190.0050.00517.10
8.1.180.0000.00918.10
8.1.170.0040.00417.62
8.1.160.0000.00718.63
8.1.150.0050.00218.80
8.1.140.0040.00422.13
8.1.130.0040.00418.97
8.1.120.0030.00417.34
8.1.110.0000.01017.31
8.1.100.0030.00417.35
8.1.90.0050.00317.29
8.1.80.0000.00917.21
8.1.70.0050.00217.34
8.1.60.0060.00317.53
8.1.50.0060.00317.44
8.1.40.0100.00617.41
8.1.30.0040.00417.47
8.1.20.0080.00317.61
8.1.10.0060.00317.34
8.1.00.0000.00717.30
8.0.300.0070.00019.90
8.0.290.0030.00616.58
8.0.280.0000.00718.29
8.0.270.0000.01017.00
8.0.260.0060.00417.97
8.0.250.0030.00316.86
8.0.240.0070.00016.78
8.0.230.0000.00716.84
8.0.220.0000.00616.75
8.0.210.0070.00016.66
8.0.200.0030.00316.86
8.0.190.0000.00716.75
8.0.180.0000.00716.70
8.0.170.0050.00516.77
8.0.160.0040.00416.65
8.0.150.0130.00016.68
8.0.140.0040.00416.74
8.0.130.0060.00013.22
8.0.120.0050.00216.77
8.0.110.0040.00416.65
8.0.100.0000.00816.68
8.0.90.0000.00716.63
8.0.80.0130.00516.70
8.0.70.0030.00616.71
8.0.60.0070.00016.81
8.0.50.0000.00716.62
8.0.30.0080.01016.96
8.0.20.0120.00717.16
8.0.10.0150.00616.95
8.0.00.0130.00916.72
7.4.330.0000.00415.55
7.4.320.0060.00016.28
7.4.300.0000.00616.35
7.4.290.0070.00016.32
7.4.280.0040.00616.41
7.4.270.0030.00616.43
7.4.260.0000.00716.31
7.4.250.0000.00716.41
7.4.240.0000.00716.45
7.4.230.0000.00716.61
7.4.220.0030.00316.43
7.4.210.0040.00916.47
7.4.200.0030.00516.34
7.4.160.0060.01216.42
7.4.150.0140.00516.34
7.4.140.0080.01217.37
7.4.130.0090.01116.34
7.4.120.0120.00716.32
7.4.110.0080.01116.30
7.4.100.0140.01016.33
7.4.90.0160.00816.42
7.4.80.0130.00816.76
7.4.70.0150.00916.34
7.4.60.0130.00916.36
7.4.50.0110.01016.30
7.4.40.0130.01016.32
7.4.30.0150.00616.34
7.4.20.0120.00916.37
7.4.10.0160.00616.34
7.4.00.0100.00916.04
7.3.330.0020.00213.32
7.3.320.0060.00013.23
7.3.310.0030.00316.07
7.3.300.0000.00716.18
7.3.290.0070.00016.23
7.3.280.0080.00816.23
7.3.270.0100.01216.38
7.3.260.0120.00616.33
7.3.250.0060.01216.34
7.3.240.0120.00516.29
7.3.230.0120.00716.31
7.3.220.0120.01216.35
7.3.210.0160.00916.36
7.3.200.0110.01016.27
7.3.190.0130.00916.23
7.3.180.0130.00816.25
7.3.170.0140.00916.31
7.3.160.0120.01016.35
7.3.150.0130.00916.28
7.3.140.0130.00816.22
7.3.130.0140.00816.28
7.3.120.0110.00815.82
7.3.110.0120.00715.75
7.3.100.0100.00815.61
7.3.90.0100.00815.56
7.3.80.0090.00815.51
7.3.70.0100.00815.38
7.3.60.0100.00815.43
7.3.50.0100.00815.40
7.3.40.0090.00815.41
7.3.30.0080.01015.38
7.3.20.0130.00715.80
7.3.10.0140.00915.78
7.3.00.0110.00715.81
7.2.340.0200.00916.52
7.2.330.0180.00816.32
7.2.320.0150.00916.48
7.2.310.0160.00816.39
7.2.300.0150.01016.41
7.2.290.0130.00916.48
7.2.280.0160.00916.41
7.2.270.0130.01216.42
7.2.260.0140.01016.40
7.2.250.0110.01016.16
7.2.240.0110.00915.76
7.2.230.0090.01015.72
7.2.220.0100.00915.71
7.2.210.0110.00915.56
7.2.200.0110.00715.53
7.2.190.0100.01015.50
7.2.180.0110.00815.53
7.2.170.0100.00815.53
7.2.160.0120.00715.58
7.2.150.0120.00815.79
7.2.140.0130.00915.75
7.2.130.0120.00915.87
7.2.120.0110.00915.91
7.2.110.0130.00715.87
7.2.100.0140.00815.83
7.2.90.0120.00815.85
7.2.80.0110.00915.81
7.2.70.0130.01015.92
7.2.60.0100.01015.91
7.2.50.0120.00915.92
7.2.40.0110.01015.97
7.2.30.0120.01015.90
7.2.20.0130.00815.92
7.2.10.0130.00815.88
7.2.00.0090.01015.85
7.1.330.0140.00915.15
7.1.320.0190.00814.89
7.1.310.0150.00814.94
7.1.300.0140.00814.77
7.1.290.0150.00714.77
7.1.280.0130.00914.78
7.1.270.0140.00814.81
7.1.260.0170.00914.85
7.1.250.0160.00714.84
7.1.240.0160.00714.79
7.1.230.0250.00914.83
7.1.220.0140.00914.81
7.1.210.0160.00914.80
7.1.200.0150.00814.79
7.1.190.0190.00514.82
7.1.180.0150.00814.81
7.1.170.0150.00814.80
7.1.160.0170.00714.84
7.1.150.0170.00714.83
7.1.140.0200.00714.81
7.1.130.0160.00814.79
7.1.120.0190.00714.79
7.1.110.0150.00914.90
7.1.100.0180.00714.82
7.1.90.0220.00714.79
7.1.80.0160.00814.85
7.1.70.0160.00914.79
7.1.60.0140.01014.80
7.1.50.0180.00714.82
7.1.40.0150.00914.83
7.1.30.0150.01014.79
7.1.20.0160.00814.80
7.1.10.0150.00814.86
7.1.00.0200.00814.85
7.0.330.0200.00914.50
7.0.320.0170.00714.59
7.0.310.0170.00914.57
7.0.300.0170.00814.57
7.0.290.0200.00814.56
7.0.280.0170.00914.58
7.0.270.0170.00714.60
7.0.260.0170.00914.61
7.0.250.0190.00714.63
7.0.240.0160.00914.66
7.0.230.0170.01014.61
7.0.220.0170.00914.63
7.0.210.0170.00814.66
7.0.200.0180.00814.59
7.0.190.0160.00914.59
7.0.180.0190.00714.64
7.0.170.0170.00914.60
7.0.160.0190.00814.60
7.0.150.0150.00914.64
7.0.140.0250.00714.65
7.0.130.0180.00914.63
7.0.120.0170.00814.59
7.0.110.0170.00814.63
7.0.100.0190.00914.60
7.0.90.0170.01014.64
7.0.80.0180.00814.59
7.0.70.0210.00714.62
7.0.60.0180.00714.56
7.0.50.0180.00714.65
7.0.40.0180.00914.55
7.0.30.0190.00714.62
7.0.20.0160.01014.59
7.0.10.0180.00814.63
7.0.00.0170.00814.59
5.6.400.0130.01014.98
5.6.390.0140.01014.95
5.6.380.0140.01214.89
5.6.370.0160.01015.22
5.6.360.0170.00915.16
5.6.350.0160.01015.12
5.6.340.0160.00915.15
5.6.330.0170.00915.20
5.6.320.0170.01015.18
5.6.310.0170.00915.17
5.6.300.0170.00815.16
5.6.290.0150.01115.14
5.6.280.0170.00815.19
5.6.270.0170.01015.18
5.6.260.0170.00915.16
5.6.250.0180.00915.17
5.6.240.0160.01115.22
5.6.230.0190.00815.12
5.6.220.0160.01115.20
5.6.210.0160.01015.13
5.6.200.0170.01115.10
5.6.190.0170.01015.12
5.6.180.0170.00915.21
5.6.170.0180.00915.15
5.6.160.0180.00915.11
5.6.150.0160.01115.12
5.6.140.0170.01015.17
5.6.130.0170.00915.10
5.6.120.0160.00915.11
5.6.110.0180.00915.13
5.6.100.0150.01115.15
5.6.90.0180.00915.14
5.6.80.0170.01015.05
5.6.70.0150.01215.07
5.6.60.0170.01015.09
5.6.50.0180.00815.06
5.6.40.0150.01015.05
5.6.30.0150.01015.05
5.6.20.0170.00815.04
5.6.10.0150.01015.06
5.6.00.0200.00815.08

preferences:
76 ms | 403 KiB | 5 Q