3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fun(int $int): integer { return $int; } fun((int) true);

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.0140.00716.50
8.3.50.0090.01021.09
8.3.40.0070.00718.68
8.3.30.0070.00718.68
8.3.20.0070.00020.21
8.3.10.0000.00823.48
8.3.00.0050.00323.41
8.2.180.0140.00716.75
8.2.170.0090.00622.96
8.2.160.0090.00920.49
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00319.70
8.2.120.0050.00326.35
8.2.110.0030.00522.16
8.2.100.0090.00317.93
8.2.90.0000.00818.99
8.2.80.0040.00417.97
8.2.70.0050.00317.75
8.2.60.0060.00317.80
8.2.50.0000.00918.07
8.2.40.0000.01020.46
8.2.30.0040.00419.29
8.2.20.0070.00017.73
8.2.10.0000.00817.86
8.2.00.0000.00717.89
8.1.280.0110.00725.92
8.1.270.0040.00418.61
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0000.00923.86
8.1.230.0030.00819.08
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00518.50
8.1.160.0000.00820.64
8.1.150.0000.00718.65
8.1.140.0030.00619.44
8.1.130.0040.00417.61
8.1.120.0000.00717.24
8.1.110.0070.00017.21
8.1.100.0070.00017.15
8.1.90.0000.00717.32
8.1.80.0000.00717.16
8.1.70.0040.00417.29
8.1.60.0030.00517.46
8.1.50.0080.00017.29
8.1.40.0070.00017.43
8.1.30.0040.00417.61
8.1.20.0070.00017.57
8.1.10.0080.00017.49
8.1.00.0040.00417.47
8.0.300.0050.00218.77
8.0.290.0050.00216.63
8.0.280.0000.00718.29
8.0.270.0000.00717.23
8.0.260.0030.00317.12
8.0.250.0000.00716.95
8.0.240.0040.00416.91
8.0.230.0030.00616.94
8.0.220.0000.00716.92
8.0.210.0000.00816.94
8.0.200.0000.00716.93
8.0.190.0060.00716.84
8.0.180.0040.00416.95
8.0.170.0000.00816.80
8.0.160.0000.00716.73
8.0.150.0050.00216.88
8.0.140.0100.00016.79
8.0.130.0000.00613.32
8.0.120.0000.00816.87
8.0.110.0020.00516.91
8.0.100.0000.00816.87
8.0.90.0000.00717.00
8.0.80.0140.00016.77
8.0.70.0000.00716.75
8.0.60.0000.00816.79
8.0.50.0000.00716.71
8.0.30.0120.00816.96
8.0.20.0110.01017.40
8.0.10.0000.00817.09
8.0.00.0070.01216.65
7.4.330.0020.00216.77
7.4.320.0070.00016.38
7.4.300.0000.00816.52
7.4.290.0070.00016.55
7.4.280.0030.00516.43
7.4.270.0030.00316.57
7.4.260.0000.00716.31
7.4.250.0050.00316.39
7.4.240.0030.00516.55
7.4.230.0040.00416.55
7.4.220.0030.01516.45
7.4.210.0120.00616.42
7.4.200.0000.00716.43
7.4.160.0100.00716.57
7.4.150.0080.01217.40
7.4.140.0130.00817.86
7.4.130.0110.00816.43
7.4.120.0100.01116.34
7.4.110.0140.00316.54
7.4.100.0000.01716.43
7.4.90.0070.01116.57
7.4.80.0080.00819.39
7.4.70.0090.00616.53
7.4.60.0060.00916.40
7.4.50.0040.01116.14
7.4.40.0030.01416.15
7.4.30.0180.00316.38
7.4.00.0050.01114.82
7.3.330.0000.00613.21
7.3.320.0000.00613.22
7.3.310.0050.00216.14
7.3.300.0040.00416.30
7.3.290.0070.00016.33
7.3.280.0080.00816.37
7.3.270.0090.01217.40
7.3.260.0200.00316.50
7.3.250.0100.01016.38
7.3.240.0080.01216.53
7.3.230.0070.01016.39
7.3.210.0090.00916.36
7.3.200.0090.00919.39
7.3.190.0130.00716.29
7.3.180.0130.00316.59
7.3.170.0140.01116.46
7.3.160.0100.01016.46
7.3.120.0090.00914.43
7.3.110.0070.00714.69
7.3.100.0080.00814.72
7.3.90.0000.01514.61
7.3.80.0110.00014.80
7.3.70.0000.01514.79
7.3.60.0110.00414.57
7.3.50.0040.01114.51
7.3.40.0000.01514.74
7.3.30.0090.00914.75
7.3.20.0100.00316.70
7.3.10.0030.00716.80
7.3.00.0010.00716.51
7.2.330.0100.00916.36
7.2.320.0060.01116.70
7.2.310.0120.00316.66
7.2.300.0000.01716.58
7.2.290.0060.00916.41
7.2.250.0070.01314.81
7.2.240.0130.00315.23
7.2.230.0140.00314.82
7.2.220.0040.00814.71
7.2.210.0060.00314.91
7.2.200.0100.00314.98
7.2.190.0070.01014.93
7.2.180.0030.01014.68
7.2.170.0040.00715.11
7.2.130.0040.01116.69
7.2.120.0030.01316.88
7.2.110.0030.01316.59
7.2.100.0070.00716.77
7.2.90.0040.01116.68
7.2.80.0070.00916.55
7.2.70.0170.00317.01
7.2.60.0090.00316.70
7.2.50.0040.00816.68
7.2.40.0070.00716.90
7.2.30.0090.00616.97
7.2.20.0000.01716.96
7.2.10.0030.01116.87
7.2.00.0050.00518.13
7.1.330.0040.01115.77
7.1.320.0030.01015.80
7.1.310.0100.00715.60
7.1.300.0100.00315.57
7.1.290.0090.00315.58
7.1.280.0100.00315.81
7.1.270.0100.00315.76
7.1.260.0030.00515.72
7.1.250.0030.01015.80
7.1.200.0060.00615.72
7.1.100.0080.00317.91
7.1.70.0040.00417.03
7.1.60.0130.01019.27
7.1.50.0070.00316.96
7.1.00.0030.07722.42
7.0.200.0000.01016.47
7.0.60.0200.07721.76
7.0.50.0130.04317.97
7.0.40.0070.04020.15
7.0.30.0300.04720.23
7.0.20.0270.07020.17
7.0.10.0000.06720.23
7.0.00.0030.09720.23
5.6.280.0130.06321.09
5.6.210.0070.03720.48
5.6.200.0070.08018.12
5.6.190.0030.04320.63
5.6.180.0230.04720.67
5.6.170.0200.06720.40
5.6.160.0200.06320.50
5.6.150.0030.04718.14
5.6.140.0030.07318.28
5.6.130.0100.07318.14
5.6.120.0030.06021.12
5.6.110.0070.05720.97
5.6.100.0070.08320.94
5.6.90.0030.04021.12
5.6.80.0000.04320.38
5.5.350.0070.08320.43
5.5.340.0130.06017.98
5.5.330.0070.06020.21
5.5.320.0270.05320.28
5.5.310.0270.06020.27
5.5.300.0100.04718.06
5.5.290.0030.06017.98
5.5.280.0030.04320.98
5.5.270.0000.06320.81
5.5.260.0070.03720.86
5.5.250.0130.07020.68
5.5.240.0230.06720.26

preferences:
39.72 ms | 401 KiB | 5 Q