3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); function test(int $test) { } test('1');

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.0090.00618.43
8.3.50.0110.00316.09
8.3.40.0100.01018.90
8.3.30.0030.01218.67
8.3.20.0040.00420.07
8.3.10.0060.00321.89
8.3.00.0040.00419.66
8.2.180.0170.00318.19
8.2.170.0040.01422.96
8.2.160.0030.01018.69
8.2.150.0040.00424.18
8.2.140.0070.00324.66
8.2.130.0070.00019.14
8.2.120.0050.00326.35
8.2.110.0100.00020.50
8.2.100.0070.00417.91
8.2.90.0030.00518.97
8.2.80.0000.00917.97
8.2.70.0080.00017.49
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0040.00420.47
8.2.30.0040.00419.24
8.2.20.0040.00417.87
8.2.10.0040.00418.03
8.2.00.0040.00417.96
8.1.280.0120.00325.92
8.1.270.0080.00022.21
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.79
8.1.230.0060.00619.21
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0080.00017.10
8.1.180.0070.00018.10
8.1.170.0000.00818.51
8.1.160.0030.00518.85
8.1.150.0030.00620.66
8.1.140.0040.00419.46
8.1.130.0000.00718.65
8.1.120.0030.00317.39
8.1.110.0040.00417.21
8.1.100.0030.00517.36
8.1.90.0040.00317.20
8.1.80.0030.00317.25
8.1.70.0050.00317.30
8.1.60.0030.00517.53
8.1.50.0030.00517.47
8.1.40.0060.00317.49
8.1.30.0030.00517.59
8.1.20.0000.00817.47
8.1.10.0000.00817.43
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0030.00318.31
8.0.270.0000.00717.18
8.0.260.0030.00516.87
8.0.250.0000.00716.99
8.0.240.0040.00416.88
8.0.230.0030.00616.84
8.0.220.0040.00316.82
8.0.210.0080.00016.77
8.0.200.0030.00316.95
8.0.190.0080.00016.93
8.0.180.0040.00416.91
8.0.170.0000.00716.90
8.0.160.0000.00916.93
8.0.150.0000.00716.71
8.0.140.0000.00716.75
8.0.130.0000.00613.30
8.0.120.0040.00416.85
8.0.110.0000.00716.77
8.0.100.0000.00716.75
8.0.90.0050.00216.75
8.0.80.0060.00916.82
8.0.70.0050.00216.86
8.0.60.0000.00716.88
8.0.50.0020.00516.68
8.0.30.0120.00817.19
8.0.20.0090.00917.40
8.0.10.0040.00416.93
8.0.00.0100.01316.65
7.4.330.0030.00315.55
7.4.320.0030.00316.37
7.4.300.0000.00616.57
7.4.290.0000.00716.55
7.4.280.0050.00216.55
7.4.270.0070.00016.33
7.4.260.0000.00716.53
7.4.250.0000.00816.30
7.4.240.0000.00716.45
7.4.230.0030.00316.28
7.4.220.0070.01016.50
7.4.210.0100.01016.57
7.4.200.0030.00316.23
7.4.160.0100.00716.43
7.4.150.0060.01217.40
7.4.140.0090.00817.86
7.4.130.0080.00916.33
7.4.120.0120.00916.45
7.4.110.0090.00916.42
7.4.100.0090.01616.39
7.4.90.0080.00816.46
7.4.80.0100.00819.39
7.4.70.0120.00616.42
7.4.60.0080.00816.33
7.4.50.0060.01216.16
7.4.40.0060.00916.59
7.4.30.0090.00716.34
7.4.00.0050.01014.82
7.3.330.0020.00213.25
7.3.320.0000.00513.26
7.3.310.0070.00016.19
7.3.300.0000.00616.16
7.3.290.0080.00716.30
7.3.280.0060.01116.28
7.3.270.0090.00917.40
7.3.260.0070.01016.52
7.3.250.0060.01116.40
7.3.240.0140.00616.54
7.3.230.0040.01316.31
7.3.210.0100.00616.29
7.3.200.0060.01116.34
7.3.190.0100.00616.49
7.3.180.0090.00616.36
7.3.170.0100.00716.32
7.3.160.0060.01016.48
7.3.120.0090.01014.72
7.3.110.0070.01114.79
7.3.100.0030.01014.83
7.3.90.0040.01114.66
7.3.80.0090.00614.55
7.3.70.0000.01514.63
7.3.60.0140.00014.82
7.3.50.0080.00414.83
7.3.40.0140.00314.86
7.3.30.0090.00614.56
7.3.20.0100.00316.74
7.3.10.0080.00316.43
7.3.00.0090.00616.67
7.2.330.0140.00416.31
7.2.320.0100.01316.56
7.2.310.0060.01016.53
7.2.300.0060.01016.67
7.2.290.0150.00316.47
7.2.250.0140.00714.73
7.2.240.0090.00615.02
7.2.230.0030.01014.75
7.2.220.0030.00614.84
7.2.210.0040.01114.77
7.2.200.0170.00014.96
7.2.190.0040.01214.84
7.2.180.0060.01314.95
7.2.170.0060.01314.97
7.2.60.0080.00816.50
7.2.00.0040.00819.18
7.1.330.0000.01415.73
7.1.320.0000.01215.56
7.1.310.0030.01315.76
7.1.300.0040.01115.73
7.1.290.0040.01115.44
7.1.280.0030.01515.76
7.1.270.0000.01215.43
7.1.260.0030.01415.74
7.1.200.0030.01015.38
7.1.100.0000.01118.07
7.1.70.0110.01117.16
7.1.60.0310.01334.97
7.1.50.0270.01934.76
7.1.40.0280.00934.53
7.1.30.0260.02134.30
7.1.20.0270.01234.48
7.1.10.0070.01416.49
7.1.00.0040.01116.75
7.0.200.0110.01216.67
7.0.190.0110.00816.50
7.0.180.0070.01416.24
7.0.170.0140.00715.94
7.0.160.0130.00816.09
7.0.150.0100.01116.34
7.0.140.0120.00916.20
7.0.130.0140.00716.50
7.0.120.0110.01416.59
7.0.110.0090.01116.18
7.0.100.0110.00916.29
7.0.90.0130.00916.27
7.0.80.0100.01016.08
7.0.70.0070.01316.18
7.0.60.0120.01516.22
7.0.50.0160.00816.29
7.0.40.0060.01516.30
7.0.30.0110.01116.36
7.0.20.0150.00816.37
7.0.10.0110.01416.41
7.0.00.0120.01016.27

preferences:
34.64 ms | 400 KiB | 5 Q