3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function foo($foo); } interface B extends A { public function foo($foo): array; }

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.140.0110.00420.71
8.3.130.0080.00018.52
8.3.120.0060.00318.80
8.3.110.0060.00320.94
8.3.100.0090.00018.45
8.3.90.0060.00626.77
8.3.80.0040.00817.97
8.3.70.0200.00018.30
8.3.60.0110.00718.14
8.3.50.0100.00817.24
8.3.40.0090.01218.72
8.3.30.0090.00618.67
8.3.20.0000.00819.16
8.3.10.0150.00021.76
8.3.00.0070.00021.85
8.2.250.0070.00716.39
8.2.240.0060.00317.30
8.2.230.0030.00522.58
8.2.220.0150.00424.06
8.2.210.0150.00026.77
8.2.200.0040.00418.88
8.2.190.0060.01016.58
8.2.180.0150.00416.32
8.2.170.0040.01422.96
8.2.160.0070.00722.13
8.2.150.0060.00325.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00421.18
8.2.110.0040.00720.98
8.2.100.0060.00617.84
8.2.90.0060.00317.78
8.2.80.0070.00617.97
8.2.70.0050.00317.80
8.2.60.0000.00818.03
8.2.50.0040.00418.10
8.2.40.0000.00819.23
8.2.30.0040.00419.17
8.2.20.0030.00617.97
8.2.10.0040.00418.05
8.2.00.0040.00419.44
8.1.300.0000.00819.31
8.1.290.0060.00330.84
8.1.280.0070.01425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.01323.97
8.1.230.0090.00322.75
8.1.220.0000.00917.74
8.1.210.0060.00319.10
8.1.200.0070.00417.23
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0050.00318.82
8.1.150.0080.00018.86
8.1.140.0000.00722.10
8.1.130.0000.00720.21
8.1.120.0060.00317.39
8.1.110.0050.00217.24
8.1.100.0030.00617.38
8.1.90.0040.00417.34
8.1.80.0000.00717.39
8.1.70.0070.00017.40
8.1.60.0080.00017.40
8.1.50.0040.00417.46
8.1.40.0050.00317.35
8.1.30.0050.00317.55
8.1.20.0070.00017.54
8.1.10.0000.00917.39
8.1.00.0040.00417.27
8.0.300.0070.00019.70
8.0.290.0040.00416.63
8.0.280.0080.00018.25
8.0.270.0080.00017.14
8.0.260.0000.00618.29
8.0.250.0040.00416.79
8.0.240.0000.00616.93
8.0.230.0000.00716.89
8.0.220.0070.00016.84
8.0.210.0000.00716.82
8.0.200.0050.00216.77
8.0.190.0040.00416.90
8.0.180.0000.00716.84
8.0.170.0030.00616.72
8.0.160.0070.00016.85
8.0.150.0050.00216.60
8.0.140.0050.00316.70
8.0.130.0060.00313.33
8.0.120.0000.00716.62
8.0.110.0040.00416.75
8.0.100.0000.00716.72
8.0.90.0030.00316.89
8.0.80.0150.00316.82
8.0.70.0000.00716.84
8.0.60.0040.00416.84
8.0.50.0000.00716.68
8.0.30.0070.01016.88
8.0.20.0130.00917.40
8.0.10.0020.00516.77
8.0.00.0100.01616.67
7.4.330.0020.00216.77
7.4.320.0000.00716.42
7.4.300.0030.00316.42
7.4.290.0000.00616.50
7.4.280.0030.00516.57
7.4.270.0070.00016.45
7.4.260.0030.00316.48
7.4.250.0000.00716.49
7.4.240.0070.00016.46
7.4.230.0030.00316.62
7.4.220.0000.00716.64
7.4.210.0060.00916.48
7.4.200.0030.00316.43
7.4.160.0090.00716.46
7.4.140.0060.01217.86
7.4.130.0140.00416.36
7.4.120.0060.01316.40
7.4.110.0100.00716.35
7.4.100.0000.01616.41
7.4.90.0100.00716.30
7.4.80.0070.01019.39
7.4.70.0070.01716.32
7.4.60.0130.01016.51
7.4.50.0090.00616.49
7.4.40.0130.00316.62
7.4.00.0030.01415.11
7.3.330.0000.00513.20
7.3.320.0050.00013.23
7.3.310.0040.00416.18
7.3.300.0040.00416.21
7.3.290.0040.00416.09
7.3.280.0070.00916.18
7.3.260.0140.00216.33
7.3.240.0110.00716.24
7.3.230.0190.00316.39
7.3.210.0080.00916.18
7.3.200.0080.00816.25
7.3.190.0060.01216.23
7.3.180.0000.01616.34
7.3.170.0120.00316.43
7.3.160.0060.00916.24
7.3.10.0030.01216.50
7.3.00.0030.01016.29
7.2.330.0130.00616.25
7.2.320.0090.00916.39
7.2.310.0000.01516.54
7.2.300.0060.00916.36
7.2.290.0060.01116.50
7.2.130.0080.00616.50
7.2.120.0090.00516.44
7.2.110.0090.00616.42
7.2.100.0080.00516.50
7.2.90.0110.00516.51
7.2.80.0070.00816.63
7.2.70.0090.00716.75
7.2.60.0090.00516.52
7.2.50.0080.00916.68
7.2.40.0110.00816.66
7.2.30.0060.01016.72
7.2.20.0070.01116.79
7.2.10.0100.00616.84
7.2.00.0090.00916.63
7.1.250.0070.00615.41
7.1.240.0040.01015.41
7.1.230.0000.01215.42
7.1.220.0070.00715.43
7.1.210.0090.00615.22
7.1.200.0090.00615.40
7.1.190.0060.00915.44
7.1.180.0030.01115.59
7.1.170.0030.01015.30
7.1.160.0090.00615.56
7.1.150.0080.00715.52
7.1.140.0040.00815.62
7.1.130.0120.00415.64
7.1.120.0060.01015.50
7.1.110.0060.00915.53
7.1.100.0080.00615.39
7.1.90.0000.01615.44
7.1.80.0040.01115.73
7.1.70.0070.01015.58
7.1.60.0060.00915.68
7.1.50.0070.00715.52
7.1.40.0030.00915.56
7.1.30.0000.01215.62
7.1.20.0060.00915.36
7.1.10.0090.00615.45
7.1.00.0040.00915.41
5.6.380.0090.00613.85

preferences:
58.88 ms | 403 KiB | 5 Q