3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fun(integer $int): integer { return $int; } fun(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.0070.01416.50
8.3.50.0090.01216.40
8.3.40.0120.00318.61
8.3.30.0150.00018.73
8.3.20.0080.00020.03
8.3.10.0080.00021.77
8.3.00.0080.00023.54
8.2.180.0100.00718.41
8.2.170.0100.00722.96
8.2.160.0110.00420.29
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00819.57
8.2.120.0040.00426.35
8.2.110.0090.00022.26
8.2.100.0040.00718.04
8.2.90.0060.00319.18
8.2.80.0050.00317.97
8.2.70.0000.00917.50
8.2.60.0050.00317.92
8.2.50.0080.00018.07
8.2.40.0080.00420.43
8.2.30.0040.00419.27
8.2.20.0060.00317.70
8.2.10.0040.00417.89
8.2.00.0040.00417.86
8.1.280.0160.01025.92
8.1.270.0040.00418.88
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0070.00319.01
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00017.00
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00818.55
8.1.160.0070.00020.50
8.1.150.0000.00718.71
8.1.140.0070.00319.43
8.1.130.0050.00517.64
8.1.120.0030.00317.33
8.1.110.0070.00017.32
8.1.100.0000.00717.34
8.1.90.0040.00417.38
8.1.80.0000.00717.31
8.1.70.0030.00317.34
8.1.60.0040.00417.41
8.1.50.0040.00417.46
8.1.40.0050.00317.42
8.1.30.0040.00417.55
8.1.20.0030.00517.55
8.1.10.0040.00417.49
8.1.00.0080.00017.46
8.0.300.0050.00218.77
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0030.00317.18
8.0.260.0070.00017.06
8.0.250.0030.00316.86
8.0.240.0040.00416.94
8.0.230.0060.00316.84
8.0.220.0000.00716.86
8.0.210.0000.00716.89
8.0.200.0040.00416.92
8.0.190.0050.00516.98
8.0.180.0080.00016.80
8.0.170.0000.00816.80
8.0.160.0000.00716.75
8.0.150.0000.00816.82
8.0.140.0080.00516.73
8.0.130.0000.00613.37
8.0.120.0000.00816.75
8.0.110.0000.00816.72
8.0.100.0070.00016.75
8.0.90.0040.00416.99
8.0.80.0060.01116.87
8.0.70.0000.00716.81
8.0.60.0040.00416.84
8.0.50.0020.00516.87
8.0.30.0050.01217.20
8.0.20.0070.01217.40
8.0.10.0030.00516.93
8.0.00.0120.00716.68
7.4.330.0000.00516.89
7.4.320.0070.00016.46
7.4.300.0030.00316.44
7.4.290.0050.00316.42
7.4.280.0080.00016.46
7.4.270.0000.00616.53
7.4.260.0050.00216.47
7.4.250.0050.00216.53
7.4.240.0040.00416.43
7.4.230.0000.00816.50
7.4.220.0070.01316.44
7.4.210.0050.00916.47
7.4.200.0070.00016.28
7.4.160.0000.01716.65
7.4.150.0190.00017.40
7.4.140.0170.00517.86
7.4.130.0130.00716.50
7.4.120.0100.00916.47
7.4.110.0090.01316.63
7.4.100.0160.00316.31
7.4.90.0030.01516.50
7.4.80.0080.00819.39
7.4.70.0090.00616.54
7.4.60.0080.00816.48
7.4.50.0000.01216.34
7.4.40.0070.01016.58
7.4.30.0100.00516.63
7.4.00.0060.00914.82
7.3.330.0000.00513.28
7.3.320.0050.00013.15
7.3.310.0000.00716.19
7.3.300.0070.00016.33
7.3.290.0070.00016.29
7.3.280.0080.00816.28
7.3.270.0110.00517.40
7.3.260.0060.01116.25
7.3.240.0110.00816.41
7.3.230.0120.01216.39
7.3.210.0140.00316.23
7.3.200.0140.00719.39
7.3.190.0070.01516.27
7.3.180.0130.00316.38
7.3.170.0070.01416.32
7.3.160.0100.00616.21
7.2.330.0040.01316.54
7.2.320.0080.01116.64
7.2.310.0130.00816.23
7.2.300.0110.01116.66
7.2.290.0180.00016.34
7.2.60.0030.00916.50
7.2.00.0040.01119.05
7.1.200.0090.00615.58
7.1.100.0040.00718.03
7.1.70.0000.01516.73
7.1.60.0150.00019.27
7.1.50.0070.01416.83
7.1.00.0030.07722.30
7.0.200.0040.00716.41
7.0.60.0200.07721.62
7.0.50.0100.07717.98
7.0.40.0070.09019.96
7.0.30.0330.06720.38
7.0.20.0570.06320.33
7.0.10.0070.04320.16
7.0.00.0130.07320.16
5.6.280.0070.03021.04
5.6.210.0130.07720.53
5.6.200.0030.08018.25
5.6.190.0070.04020.50
5.6.180.0370.07020.48
5.6.170.0100.04320.51
5.6.160.0100.08020.54
5.6.150.0100.06718.29
5.6.140.0100.03018.19
5.6.130.0070.08318.17
5.6.120.0030.04320.97
5.6.110.0070.08020.99
5.6.100.0230.06720.95
5.6.90.0070.03720.96
5.6.80.0070.03720.44
5.5.350.0030.08720.41
5.5.340.0130.07318.04
5.5.330.0070.04020.19
5.5.320.0330.07720.32
5.5.310.0330.06320.27
5.5.300.0100.06318.04
5.5.290.0000.08317.98
5.5.280.0100.07020.87
5.5.270.0030.08320.64
5.5.260.0030.04320.73
5.5.250.0070.08720.78
5.5.240.0030.06320.14

preferences:
44.05 ms | 400 KiB | 5 Q