3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function get_config(): array { return 42; } get_config();

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.3.40.0110.00418.80
8.3.30.0100.01018.71
8.3.20.0110.00420.19
8.3.10.0080.00023.65
8.3.00.0070.00017.80
8.2.170.0100.00722.96
8.2.160.0100.00320.24
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00317.50
8.2.110.0090.00022.27
8.2.100.0140.00017.72
8.2.90.0030.00619.13
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0000.01117.90
8.2.50.0040.00418.07
8.2.40.0080.00021.14
8.2.30.0050.00320.56
8.2.20.0080.00017.59
8.2.10.0000.00818.03
8.2.00.0040.00417.98
8.1.270.0080.00021.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.73
8.1.230.0030.00722.20
8.1.220.0040.00417.76
8.1.210.0030.00518.77
8.1.200.0050.00517.22
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00620.37
8.1.160.0000.00821.93
8.1.150.0040.00418.69
8.1.140.0080.00019.45
8.1.130.0000.00717.56
8.1.120.0030.00517.26
8.1.110.0030.00617.20
8.1.100.0040.00417.28
8.1.90.0070.00017.32
8.1.80.0040.00417.30
8.1.70.0030.00317.28
8.1.60.0050.00317.54
8.1.50.0000.00717.36
8.1.40.0000.00717.43
8.1.30.0030.00617.42
8.1.20.0080.00017.51
8.1.10.0040.00417.47
8.1.00.0040.00417.43
8.0.300.0020.00518.84
8.0.290.0020.00516.75
8.0.280.0030.00318.37
8.0.270.0030.00317.11
8.0.260.0000.00617.09
8.0.250.0040.00416.90
8.0.240.0000.00716.92
8.0.230.0000.00716.83
8.0.220.0070.00016.92
8.0.210.0070.00316.76
8.0.200.0050.00216.96
8.0.190.0000.00716.95
8.0.180.0000.00916.88
8.0.170.0000.00716.90
8.0.160.0000.00716.89
8.0.150.0000.00816.77
8.0.140.0000.00716.84
8.0.130.0060.00313.35
8.0.120.0070.00016.90
8.0.110.0070.00016.89
8.0.100.0000.00816.93
8.0.90.0040.00416.83
8.0.80.0070.01016.83
8.0.70.0030.00316.74
8.0.60.0000.00716.70
8.0.50.0000.00716.86
8.0.30.0120.00517.04
8.0.20.0150.00917.40
8.0.10.0000.00716.89
8.0.00.0070.01116.68
7.4.330.0050.00015.08
7.4.320.0060.00016.38
7.4.300.0030.00316.55
7.4.290.0000.00716.35
7.4.280.0040.00416.55
7.4.270.0030.00316.33
7.4.260.0070.00016.43
7.4.250.0030.00316.48
7.4.240.0020.00516.56
7.4.230.0000.00716.43
7.4.220.0170.00716.56
7.4.210.0070.00716.61
7.4.200.0070.00016.59
7.4.160.0090.00916.46
7.4.150.0110.00717.40
7.4.140.0140.00517.86
7.4.130.0050.01116.40
7.4.120.0150.00616.43
7.4.110.0090.00916.44
7.4.100.0100.01316.52
7.4.90.0100.01316.54
7.4.80.0120.01219.39
7.4.70.0070.01116.38
7.4.60.0070.01016.53
7.4.50.0000.00516.35
7.4.40.0030.01416.50
7.4.30.0030.01416.57
7.4.10.0120.00015.09
7.4.00.0050.00914.71
7.3.330.0000.00513.15
7.3.320.0000.00513.15
7.3.310.0050.00216.40
7.3.300.0070.00016.30
7.3.290.0030.01116.27
7.3.280.0120.00916.24
7.3.270.0100.00717.40
7.3.260.0060.01016.26
7.3.250.0110.00916.46
7.3.240.0100.00916.35
7.3.230.0100.00716.39
7.3.210.0100.00716.63
7.3.200.0060.01016.40
7.3.190.0100.00716.23
7.3.180.0110.00616.41
7.3.170.0190.00316.48
7.3.160.0060.01016.30
7.3.130.0060.00914.77
7.3.120.0070.01014.78
7.3.110.0000.01614.63
7.3.100.0000.01414.66
7.3.90.0060.00914.90
7.3.80.0120.00614.68
7.3.70.0060.00614.79
7.3.60.0150.00314.54
7.3.50.0060.01014.86
7.3.40.0060.01014.79
7.3.30.0090.00614.74
7.3.20.0070.01016.58
7.3.10.0100.01016.70
7.3.00.0090.00016.75
7.2.330.0090.00916.62
7.2.320.0030.01316.39
7.2.310.0060.01216.45
7.2.300.0070.00916.61
7.2.290.0030.01816.58
7.2.260.0030.01214.93
7.2.250.0100.00714.89
7.2.240.0080.00814.82
7.2.230.0070.00414.61
7.2.220.0030.00914.80
7.2.210.0070.01114.93
7.2.200.0040.01115.11
7.2.190.0040.01415.02
7.2.180.0070.01015.02
7.2.170.0070.01014.92
7.2.160.0090.00614.68
7.2.150.0060.01016.99
7.2.140.0100.01016.95
7.2.130.0040.00716.71
7.2.120.0100.00716.63
7.2.110.0100.00616.71
7.2.100.0070.00316.93
7.2.90.0090.00316.89
7.2.80.0070.00716.68
7.2.70.0000.00916.83
7.2.60.0050.01016.76
7.2.50.0070.01016.67
7.2.40.0150.00416.97
7.2.30.0030.01216.69
7.2.20.0080.00816.82
7.2.10.0030.01216.64
7.2.00.0060.01018.06
7.1.330.0110.00415.78
7.1.320.0090.00615.84
7.1.310.0060.00615.47
7.1.300.0090.00915.71
7.1.290.0000.01915.62
7.1.280.0040.00815.77
7.1.270.0030.01015.65
7.1.260.0030.01215.70
7.1.250.0090.00315.41
7.1.240.0090.00615.88
7.1.230.0030.01315.66
7.1.220.0050.00515.75
7.1.210.0070.00715.70
7.1.200.0050.00815.76
7.1.190.0080.00815.68
7.1.180.0000.01715.70
7.1.170.0060.00915.64
7.1.160.0060.00815.85
7.1.150.0060.00915.63
7.1.140.0030.00915.71
7.1.130.0060.00615.66
7.1.120.0030.00715.80
7.1.110.0060.00615.58
7.1.100.0020.01216.68
7.1.90.0060.00315.64
7.1.80.0030.01015.77
7.1.70.0050.00516.20
7.1.60.0050.00817.54
7.1.50.0080.01016.20
7.1.40.0000.00915.93
7.1.30.0090.00315.73
7.1.20.0030.00815.72
7.1.10.0070.01015.70
7.1.00.0070.03819.04
7.0.330.0030.01015.46
7.0.320.0000.00915.31
7.0.310.0040.01114.96
7.0.300.0110.00315.27
7.0.290.0070.00715.30
7.0.280.0030.00915.42
7.0.270.0090.00015.25
7.0.260.0070.00315.21
7.0.250.0030.00615.14
7.0.240.0030.00515.10
7.0.230.0090.00015.10
7.0.220.0080.00415.34
7.0.210.0060.00915.08
7.0.200.0130.00016.06
7.0.190.0080.00415.48
7.0.180.0050.00515.44
7.0.170.0030.01015.26
7.0.160.0090.00315.11
7.0.150.0090.00015.32
7.0.140.0000.01215.44
7.0.130.0030.01215.37
7.0.120.0070.00415.07
7.0.110.0000.00815.39
7.0.100.0040.00415.08
7.0.90.0040.00715.19
7.0.80.0030.01015.43
7.0.70.0070.00715.27
7.0.60.0080.04017.72
7.0.50.0080.04116.63
7.0.40.0020.03916.61
7.0.30.0160.04016.82
7.0.20.0120.03516.77
7.0.10.0130.03216.86
7.0.00.0050.02316.72
5.6.400.0060.00614.18
5.6.390.0060.01014.18
5.6.380.0040.01114.11
5.6.370.0060.00313.96
5.6.360.0100.00314.35
5.6.350.0060.00613.96
5.6.340.0040.01214.36
5.6.330.0030.01014.00
5.6.320.0040.00714.04
5.6.310.0040.01113.75
5.6.300.0090.00314.32
5.6.290.0090.00313.96
5.6.280.0030.01817.77
5.6.270.0060.00614.36
5.6.260.0070.00714.11
5.6.250.0000.01314.06
5.6.240.0050.00514.23
5.6.230.0030.01014.27
5.6.220.0120.00614.26
5.6.210.0030.02617.26
5.6.200.0120.03916.07
5.6.190.0070.02017.33
5.6.180.2110.02017.24
5.6.170.0120.02317.24
5.6.160.0050.03717.43
5.6.150.0100.02016.11
5.6.140.0020.02616.20
5.6.130.0090.02316.10
5.6.120.0030.04717.53
5.6.110.0040.02617.65
5.6.100.0080.04317.60
5.6.90.0050.03717.57
5.6.80.0090.04217.29
5.6.70.2210.02017.21
5.6.60.0030.01014.13
5.6.50.0060.01013.70
5.6.40.0030.00713.97
5.6.30.0000.01314.16
5.6.20.0030.01014.07
5.6.10.0040.01113.96
5.6.00.0040.00814.05
5.5.380.0070.00713.74
5.5.370.0000.01414.34
5.5.360.0030.01314.33
5.5.350.0080.02017.18
5.5.340.0070.04216.01
5.5.330.0050.04617.10
5.5.320.0200.04017.17
5.5.310.0170.02717.20
5.5.300.0100.04316.07
5.5.290.0070.04215.93
5.5.280.0040.02517.44
5.5.270.0080.04717.29
5.5.260.0100.03717.49
5.5.250.0130.03717.22
5.5.240.0090.04117.03
5.5.230.0070.00713.81
5.5.220.0040.01114.03
5.5.210.0100.00313.86
5.5.200.0000.01413.89
5.5.190.0060.00613.92
5.5.180.0040.01114.14
5.5.170.0030.00713.91
5.5.160.0000.01414.16
5.5.150.0090.00313.62
5.5.140.0000.01413.87
5.5.130.0100.00314.11
5.5.120.0040.00714.07
5.5.110.0070.00714.12
5.5.100.0100.00013.51
5.5.90.0030.00614.10
5.5.80.0030.01313.89
5.5.70.0070.00714.16
5.5.60.0040.01113.82
5.5.50.0030.01313.80
5.5.40.0100.00713.99
5.5.30.0000.01113.91
5.5.20.0070.00714.06
5.5.10.0080.00613.77
5.5.00.0090.00614.17
5.4.450.0130.03315.07
5.4.440.0080.03515.19
5.4.430.0210.03515.18
5.4.420.0180.02515.18
5.4.410.0080.03315.01
5.4.400.0190.03014.79
5.4.390.0150.03515.04
5.4.380.0180.02714.91
5.4.370.0170.03914.98
5.4.360.0120.03114.78
5.4.350.0150.02914.94
5.4.340.0170.03015.01
5.4.330.0000.00610.82
5.4.320.0070.03615.00
5.4.310.0200.02814.77
5.4.300.0130.03214.75
5.4.290.0170.03214.76
5.4.280.0250.03014.86
5.4.270.0180.02614.95
5.4.260.0200.03315.12
5.4.250.0190.02914.99
5.4.240.0200.02815.03
5.4.230.0220.03214.87
5.4.220.0230.03314.90
5.4.210.0220.02314.97
5.4.200.0150.02814.75
5.4.190.0120.03014.96
5.4.180.0160.02815.02
5.4.170.0230.02814.75
5.4.160.0250.02814.80
5.4.150.0100.03714.84
5.4.140.0130.03513.53
5.4.130.0180.02613.47
5.4.120.0130.03213.60
5.4.110.0180.03813.73
5.4.100.0160.02613.65
5.4.90.0150.03513.75
5.4.80.0150.03813.67
5.4.70.0170.03013.72
5.4.60.0150.03913.60
5.4.50.0130.03513.61
5.4.40.0170.02813.49
5.4.30.0070.03513.61
5.4.20.0140.03113.69
5.4.10.0100.03113.66
5.4.00.0130.03513.24

preferences:
49.31 ms | 400 KiB | 5 Q