3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(): array { 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.10.0040.00417.75
8.3.140.0140.00416.77
8.3.130.0040.00418.42
8.3.120.0040.00418.82
8.3.110.0000.00716.41
8.3.100.0040.00424.06
8.3.90.0050.00326.77
8.3.80.0040.00817.97
8.3.70.0090.01218.30
8.3.60.0070.01516.63
8.3.50.0100.00317.46
8.3.40.0110.00418.61
8.3.30.0110.00718.54
8.3.20.0040.00421.75
8.3.10.0000.00823.59
8.3.00.0000.00819.44
8.2.250.0000.00816.43
8.2.240.0060.00319.02
8.2.230.0090.00020.94
8.2.220.0000.01037.54
8.2.210.0180.00026.77
8.2.200.0040.00418.41
8.2.190.0090.00616.75
8.2.180.0140.00018.41
8.2.170.0070.01118.66
8.2.160.0070.00722.96
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00721.04
8.2.110.0060.00320.51
8.2.100.0040.00817.43
8.2.90.0060.00317.72
8.2.80.0050.00218.86
8.2.70.0030.00917.37
8.2.60.0030.00517.68
8.2.50.0030.00517.50
8.2.40.0040.00417.93
8.2.30.0030.00619.22
8.2.20.0030.00617.89
8.2.10.0040.00417.80
8.2.00.0000.00717.91
8.1.300.0160.00018.32
8.1.290.0050.00530.84
8.1.280.0040.01525.92
8.1.270.0000.00923.81
8.1.260.0000.01026.35
8.1.250.0090.00028.09
8.1.240.0000.01019.09
8.1.230.0070.00420.98
8.1.220.0090.00017.74
8.1.210.0040.00718.91
8.1.200.0060.00317.23
8.1.190.0000.00917.23
8.1.180.0030.00518.10
8.1.170.0050.00317.62
8.1.160.0070.00018.75
8.1.150.0030.00518.94
8.1.140.0040.00417.27
8.1.130.0070.00017.31
8.1.120.0000.00717.30
8.1.110.0000.00917.28
8.1.100.0050.00217.36
8.1.90.0040.00417.20
8.1.80.0000.00917.21
8.1.70.0070.00017.40
8.1.60.0040.00417.50
8.1.50.0080.00017.44
8.1.40.0040.00417.39
8.1.30.0020.00717.58
8.1.20.0110.00317.56
8.1.10.0130.00417.33
8.1.00.0110.00517.30
8.0.300.0070.00020.06
8.0.290.0000.00816.58
8.0.280.0000.00718.38
8.0.270.0040.00416.62
8.0.260.0040.00416.62
8.0.250.0030.00316.72
8.0.240.0000.00816.83
8.0.230.0000.00716.84
8.0.220.0070.00016.68
8.0.210.0000.00616.74
8.0.200.0030.00316.68
8.0.190.0030.00316.74
8.0.180.0000.00816.79
8.0.170.0080.00316.63
8.0.160.0060.00316.70
8.0.150.0070.00816.62
8.0.140.0110.00416.65
8.0.130.0100.00415.75
8.0.120.0080.00616.74
8.0.110.0070.00616.69
8.0.100.0090.00616.67
8.0.90.0080.00616.64
8.0.80.0100.00516.67
8.0.70.0060.00716.64
8.0.60.0100.00616.69
8.0.50.0100.00516.71
8.0.30.0100.00816.77
8.0.20.0090.00916.83
8.0.10.0080.00716.83
8.0.00.0110.00716.75
7.4.330.0000.00515.55
7.4.320.0030.00316.39
7.4.300.0030.00316.52
7.4.290.0000.00816.38
7.4.280.0040.00416.50
7.4.270.0110.00516.44
7.4.260.0090.00716.41
7.4.250.0140.00516.39
7.4.240.0080.00516.45
7.4.230.0070.00516.38
7.4.220.0070.00516.37
7.4.210.0090.00616.46
7.4.200.0090.00416.38
7.4.190.0100.00316.49
7.4.180.0060.00616.49
7.4.160.0090.00616.43
7.4.150.0120.00516.45
7.4.140.0080.00816.96
7.4.130.0100.00816.36
7.4.120.0110.00616.23
7.4.110.0110.00716.24
7.4.100.0110.00616.31
7.4.90.0100.00816.33
7.4.80.0090.00916.51
7.4.70.0110.00716.28
7.4.60.0090.00816.31
7.4.50.0110.00716.27
7.4.40.0100.00816.21
7.4.30.0110.00716.31
7.4.20.0090.00916.33
7.4.10.0100.00716.23
7.4.00.0100.00716.11
7.3.330.0150.00315.44
7.3.320.0120.00515.39
7.3.310.0110.00416.14
7.3.300.0110.00416.18
7.3.290.0130.00216.16
7.3.280.0090.00816.17
7.3.270.0110.00616.17
7.3.260.0110.00616.22
7.3.250.0110.00716.18
7.3.240.0100.00816.25
7.3.230.0100.00716.26
7.3.220.0100.00816.16
7.3.210.0120.00616.11
7.3.200.0110.00716.19
7.3.190.0100.00716.20
7.3.180.0100.00916.19
7.3.170.0100.00816.16
7.3.160.0110.00716.20
7.3.150.0100.00816.18
7.3.140.0110.00816.21
7.3.130.0090.00916.15
7.3.120.0110.00715.92
7.3.110.0100.00815.82
7.3.100.0090.00815.59
7.3.90.0090.00815.61
7.3.80.0090.00915.56
7.3.70.0090.00815.49
7.3.60.0090.00715.41
7.3.50.0090.00815.38
7.3.40.0090.00715.36
7.3.30.0090.00715.29
7.3.20.0210.00715.74
7.3.10.0200.00815.70
7.3.00.0240.00815.69
7.2.340.0130.00816.19
7.2.330.0160.00716.29
7.2.320.0130.00816.21
7.2.310.0130.00816.24
7.2.300.0100.01016.27
7.2.290.0130.00716.28
7.2.280.0120.00916.25
7.2.270.0100.01016.30
7.2.260.0100.00916.26
7.2.250.0110.00916.13
7.2.240.0100.00915.91
7.2.230.0090.00915.73
7.2.220.0100.00915.68
7.2.210.0090.00915.60
7.2.200.0090.00915.61
7.2.190.0090.00815.51
7.2.180.0090.00815.48
7.2.170.0090.00815.43
7.2.160.0080.00915.40
7.2.150.0220.00815.87
7.2.140.0200.00815.86
7.2.130.0180.00915.88
7.2.120.0210.00815.87
7.2.110.0320.00815.86
7.2.100.0270.00815.83
7.2.90.0250.00915.88
7.2.80.0240.00815.85
7.2.70.0230.00815.86
7.2.60.0180.00915.85
7.2.50.0220.00915.83
7.2.40.0240.00915.92
7.2.30.0210.00815.93
7.2.20.0250.00815.87
7.2.10.0240.00915.89
7.2.00.0250.00815.88
7.1.330.0150.00915.21
7.1.320.0150.00714.95
7.1.310.0140.00814.94
7.1.300.0120.00814.91
7.1.290.0120.00814.88
7.1.280.0140.00714.92
7.1.270.0150.00714.86
7.1.260.0160.00614.86
7.1.250.0220.00814.73
7.1.240.0220.00814.71
7.1.230.0330.00914.68
7.1.220.0290.00814.72
7.1.210.0280.00814.69
7.1.200.0270.00714.68
7.1.190.0240.00714.72
7.1.180.0320.00814.68
7.1.170.0230.00914.69
7.1.160.0250.00814.73
7.1.150.0290.00814.72
7.1.140.0310.00814.74
7.1.130.0280.00914.72
7.1.120.0280.00814.76
7.1.110.0300.00814.78
7.1.100.0280.00914.77
7.1.90.0240.00814.81
7.1.80.0280.00714.77
7.1.70.0230.00814.74
7.1.60.0230.00815.34
7.1.50.0250.00715.37
7.1.40.0230.00915.30
7.1.30.0260.00715.38
7.1.20.0220.00815.38
7.1.10.0210.00914.79
7.1.00.0250.00814.79
7.0.330.0210.00914.42
7.0.320.0160.00814.69
7.0.310.0200.00814.67
7.0.300.0250.00714.65
7.0.290.0260.00814.67
7.0.280.0270.00714.63
7.0.270.0260.00814.71
7.0.260.0260.00814.71
7.0.250.0240.00814.75
7.0.240.0260.00714.75
7.0.230.0240.00814.74
7.0.220.0210.00814.73
7.0.210.0190.00814.71
7.0.200.0220.00714.70
7.0.190.0210.00814.74
7.0.180.0200.00914.75
7.0.170.0230.00814.78
7.0.160.0200.00714.79
7.0.150.0220.00914.81
7.0.140.0210.00814.84
7.0.130.0200.00814.83
7.0.120.0180.00914.85
7.0.110.0170.00814.85
7.0.100.0190.00914.82
7.0.90.0180.00814.83
7.0.80.0190.00714.84
7.0.70.0220.00814.82
7.0.60.0210.00814.85
7.0.50.0200.00814.86
7.0.40.0200.00814.85
7.0.30.0210.00814.86
7.0.20.0190.00814.82
7.0.10.0190.00714.83
7.0.00.0200.00714.75
5.6.400.0130.00914.75
5.6.390.0130.00914.71
5.6.380.0140.00914.64
5.6.370.0140.00914.91
5.6.360.0150.00914.91
5.6.350.0140.01014.90
5.6.340.0140.00914.90
5.6.330.0140.00814.91
5.6.320.0140.00914.93
5.6.310.0140.00914.95
5.6.300.0160.01115.06
5.6.290.0140.01115.04
5.6.280.0150.01015.03
5.6.270.0130.01115.05
5.6.260.0140.01115.07
5.6.250.0150.01015.03
5.6.240.0130.01015.03
5.6.230.0150.01015.03
5.6.220.0140.01115.02
5.6.210.0150.01015.01
5.6.200.0130.01115.07
5.6.190.0150.01015.06
5.6.180.0150.01015.03
5.6.170.0140.01115.00
5.6.160.0150.00914.99
5.6.150.0160.01015.05
5.6.140.0150.01115.01
5.6.130.0150.01015.06
5.6.120.0140.01115.01
5.6.110.0140.01015.06
5.6.100.0140.01114.99
5.6.90.0140.01115.02
5.6.80.0140.01014.95
5.6.70.0140.01014.95
5.6.60.0140.01114.92
5.6.50.0130.01014.93
5.6.40.0130.01114.92
5.6.30.0150.01014.91
5.6.20.0140.01114.93
5.6.10.0130.01014.91
5.6.00.0150.01014.96

preferences:
31.92 ms | 403 KiB | 5 Q