3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=0); function get_config(): string { return 42; } echo 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.60.0150.00416.38
8.3.50.0100.01021.16
8.3.40.0090.00618.50
8.3.30.0100.00718.70
8.3.20.0040.00420.26
8.3.10.0060.00323.66
8.3.00.0080.00017.80
8.2.180.0090.01216.38
8.2.170.0110.00422.96
8.2.160.0130.00020.35
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00320.30
8.2.110.0040.00722.08
8.2.100.0060.00617.80
8.2.90.0000.00719.05
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0000.01117.43
8.2.50.0050.00318.07
8.2.40.0000.00821.06
8.2.30.0040.00420.67
8.2.20.0040.00417.66
8.2.10.0050.00317.77
8.2.00.0000.00817.77
8.1.280.0170.00325.92
8.1.270.0130.00623.83
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0040.00422.39
8.1.230.0060.00619.44
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0080.00017.13
8.1.180.0000.00918.10
8.1.170.0060.00320.23
8.1.160.0070.00022.05
8.1.150.0040.00418.64
8.1.140.0000.00819.44
8.1.130.0040.00417.57
8.1.120.0070.00017.34
8.1.110.0040.00417.21
8.1.100.0000.00717.22
8.1.90.0000.00717.31
8.1.80.0040.00317.32
8.1.70.0000.00717.32
8.1.60.0000.00917.58
8.1.50.0060.00317.36
8.1.40.0040.00417.46
8.1.30.0030.00617.55
8.1.20.0000.00817.58
8.1.10.0000.00817.39
8.1.00.0060.00317.43
8.0.300.0000.00818.77
8.0.290.0050.00316.75
8.0.280.0000.00718.37
8.0.270.0030.00317.24
8.0.260.0030.00317.25
8.0.250.0030.00317.05
8.0.240.0050.00317.00
8.0.230.0070.00016.90
8.0.220.0000.00716.87
8.0.210.0030.00516.84
8.0.200.0000.00716.88
8.0.190.0040.00416.95
8.0.180.0080.00316.82
8.0.170.0040.00416.91
8.0.160.0000.00816.95
8.0.150.0040.00416.84
8.0.140.0000.00816.83
8.0.130.0040.00413.35
8.0.120.0030.00516.88
8.0.110.0000.00816.86
8.0.100.0040.00416.77
8.0.90.0040.00416.75
8.0.80.0070.01016.79
8.0.70.0040.00416.88
8.0.60.0080.00016.95
8.0.50.0050.00316.75
8.0.30.0100.00716.87
8.0.20.0110.00817.40
8.0.10.0050.00216.81
8.0.00.0100.00716.64
7.4.330.0000.00615.08
7.4.320.0000.00616.46
7.4.300.0030.00616.52
7.4.290.0070.00016.42
7.4.280.0040.00416.49
7.4.270.0040.00416.55
7.4.260.0050.00216.50
7.4.250.0070.00016.38
7.4.240.0020.00516.45
7.4.230.0000.00816.54
7.4.220.0170.00316.39
7.4.210.0100.00616.48
7.4.200.0000.00716.60
7.4.160.0100.01016.50
7.4.150.0080.01717.40
7.4.140.0090.00917.86
7.4.130.0040.01516.35
7.4.120.0080.01016.38
7.4.110.0130.01016.34
7.4.100.0030.02016.24
7.4.90.0100.00616.32
7.4.80.0060.01019.39
7.4.70.0100.01016.35
7.4.60.0080.00916.51
7.4.50.0040.00416.56
7.4.40.0030.01316.38
7.4.30.0150.00616.42
7.4.00.0070.00914.87
7.3.330.0050.00013.01
7.3.320.0000.00513.06
7.3.310.0030.00316.28
7.3.300.0000.00716.17
7.3.290.0100.00316.22
7.3.280.0090.00716.19
7.3.270.0140.00617.40
7.3.260.0110.00516.41
7.3.240.0120.00616.40
7.3.230.0150.00316.39
7.3.210.0090.00916.41
7.3.200.0090.00616.32
7.3.190.0050.01116.27
7.3.180.0120.00316.09
7.3.170.0120.00416.57
7.3.160.0080.00816.40
7.3.120.0030.01414.75
7.3.110.0030.01314.90
7.3.100.0090.00614.89
7.3.90.0030.00614.67
7.3.80.0030.01014.54
7.3.70.0040.00414.86
7.3.60.0090.00914.69
7.3.50.0090.00314.79
7.3.40.0030.01214.79
7.3.30.0110.00414.80
7.3.20.0030.01016.64
7.3.10.0100.00316.67
7.3.00.0060.01016.77
7.2.330.0070.01316.72
7.2.320.0000.01816.74
7.2.310.0090.00916.56
7.2.300.0070.01816.55
7.2.290.0040.01316.36
7.2.250.0060.01214.96
7.2.240.0040.01615.09
7.2.230.0070.01015.01
7.2.220.0030.01215.14
7.2.210.0100.00614.98
7.2.200.0040.01114.82
7.2.190.0060.00914.86
7.2.180.0000.01214.95
7.2.170.0070.00714.63
7.2.60.0030.01016.95
7.1.330.0100.00315.68
7.1.320.0060.00915.88
7.1.310.0040.01115.64
7.1.300.0040.01215.52
7.1.290.0030.00715.73
7.1.280.0060.00915.66
7.1.270.0030.01215.66
7.1.260.0030.01015.69
7.1.200.0130.00015.70
7.1.100.0090.00618.15
7.1.70.0120.00316.90
7.1.60.0040.01219.50
7.1.50.0100.01316.88
7.1.00.0030.07022.46
7.0.200.0110.00416.56
7.0.60.0130.07719.91
7.0.50.0000.04717.85
7.0.40.0030.04720.40
7.0.30.0370.07020.24
7.0.20.0330.07720.06
7.0.10.0270.08020.09
7.0.00.0130.07720.32
5.6.280.0070.02720.86
5.6.210.0070.08320.66
5.6.200.0070.03718.19
5.6.190.0170.07720.42
5.6.180.3700.04320.32
5.6.170.0270.05720.48
5.6.160.0100.07320.54
5.6.150.0000.05318.22
5.6.140.0030.05718.14
5.6.130.0070.08318.18
5.6.120.0170.05720.89
5.6.110.0070.08721.03
5.6.100.0130.07021.09
5.6.90.0200.07021.11
5.6.80.0100.07320.37
5.6.70.3000.02720.37
5.5.350.0270.07320.52
5.5.340.0070.06718.04
5.5.330.0030.09020.19
5.5.320.0300.05020.57
5.5.310.0470.07320.41
5.5.300.0100.03017.94
5.5.290.0030.04017.92
5.5.280.0070.08720.80
5.5.270.0100.04720.73
5.5.260.0100.03720.89
5.5.250.0000.06020.54
5.5.240.0130.06720.29
5.4.450.0270.05719.63
5.4.440.0170.07019.17
5.4.430.0270.05319.21
5.4.420.0170.07319.44
5.4.410.0170.05719.34
5.4.400.0330.05719.28
5.4.390.0200.05319.15
5.4.380.0200.06719.12
5.4.370.0230.06019.27
5.4.360.0230.05719.28
5.4.350.0200.06319.23
5.4.340.0270.05319.13
5.4.320.0200.05718.89
5.4.310.0270.05019.23
5.4.300.0270.07018.84
5.4.290.0330.05019.36
5.4.280.0230.07019.12
5.4.270.0230.07719.27
5.4.260.0330.06719.23
5.4.250.0300.06319.05
5.4.240.0330.05019.14
5.4.230.0270.05319.24
5.4.220.0300.05319.18
5.4.210.0400.04718.83
5.4.200.0200.05318.84
5.4.190.0430.06019.02
5.4.180.0230.05719.13
5.4.170.0330.05019.14
5.4.160.0200.07318.86
5.4.150.0270.06319.25
5.4.140.0270.05016.48
5.4.130.0200.05016.51
5.4.120.0230.05716.55
5.4.110.0470.05316.65
5.4.100.0270.05016.57
5.4.90.0370.04316.58
5.4.80.0170.05716.68
5.4.70.0270.04316.55
5.4.60.0270.04316.55
5.4.50.0100.05716.55
5.4.40.0200.04716.62
5.4.30.0200.04716.57
5.4.20.0270.04016.60
5.4.10.0230.04716.57
5.4.00.0400.08315.80

preferences:
57.63 ms | 401 KiB | 5 Q