3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I1 { public function fromThing(ThingA $thing); } interface I2 { public function fromThing(ThingB $thing); } class ThingA {} class ThingB {} class Impl implements I1, I2 { public function fromThing(ThingA|ThingB $thing) { } } $i = new Impl();

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.5.30.0080.00920.09
8.5.20.0110.00620.23
8.5.10.0070.00920.25
8.5.00.0170.00719.98
8.4.180.0140.00819.63
8.4.170.0100.01219.69
8.4.160.0110.01025.57
8.4.150.0090.00416.87
8.4.140.0110.01017.37
8.4.130.0120.00917.81
8.4.120.0120.00820.43
8.4.110.0150.00518.79
8.4.100.0080.01017.70
8.4.90.0120.00917.74
8.4.80.0060.00317.88
8.4.70.0110.00817.55
8.4.60.0170.00417.93
8.4.50.0080.01018.70
8.4.40.0050.00319.47
8.4.30.0130.00720.39
8.4.20.0040.00419.81
8.4.10.0000.00820.55
8.3.300.0140.01120.17
8.3.290.0140.00820.70
8.3.280.0090.01118.43
8.3.270.0070.01216.81
8.3.260.0120.00616.67
8.3.250.0140.00419.01
8.3.240.0100.00518.98
8.3.230.0130.00616.64
8.3.220.0080.00717.18
8.3.210.0090.01016.58
8.3.200.0130.00716.44
8.3.190.0080.01216.52
8.3.180.0110.00716.63
8.3.170.0150.00418.72
8.3.160.0110.00716.62
8.3.150.0120.00317.13
8.3.140.0100.00716.77
8.3.130.0030.00616.76
8.3.120.0060.00320.51
8.3.110.0060.00316.63
8.3.100.0040.01118.36
8.3.90.0070.01126.77
8.3.80.0030.00616.75
8.3.70.0140.00418.55
8.3.60.0040.01116.38
8.3.50.0140.00420.10
8.3.40.0100.00718.73
8.3.30.0110.00419.17
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0100.01022.11
8.2.290.0070.00718.65
8.2.280.0090.00522.21
8.2.270.0000.01817.18
8.2.260.0100.00016.35
8.2.250.0120.00616.68
8.2.240.0040.01416.71
8.2.230.0030.01320.94
8.2.220.0090.00024.06
8.2.210.0180.00026.77
8.2.200.0050.00518.17
8.2.190.0040.01216.58
8.2.180.0070.01425.92
8.2.170.0090.00618.92
8.2.160.0090.00622.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0030.00722.12
8.2.100.0080.00617.78
8.2.90.0030.00517.63
8.2.80.0000.00818.70
8.2.70.0050.00317.50
8.2.60.0080.00017.75
8.2.50.0040.00417.98
8.2.40.0000.00818.16
8.2.30.0040.00418.25
8.2.20.0040.00420.44
8.2.10.0040.00418.02
8.2.00.0030.00519.34
8.1.340.0090.00317.56
8.1.330.0110.00817.79
8.1.320.0090.00916.36
8.1.310.0110.00718.53
8.1.300.0160.00316.90
8.1.290.0100.00030.84
8.1.280.0100.00725.92
8.1.270.0130.00722.18
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0000.00923.87
8.1.230.0150.00018.92
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0050.00318.89
8.1.150.0050.00318.55
8.1.140.0030.00517.36
8.1.130.0000.00718.87
8.1.120.0140.00517.38
8.1.110.0000.00917.45
8.1.100.0040.00417.34
8.1.90.0050.00317.35
8.1.80.0000.00817.36
8.1.70.0030.00317.40
8.1.60.0070.00017.58
8.1.50.0080.00317.50
8.1.40.0210.00817.41
8.1.30.0260.00317.57
8.1.20.0190.01117.64
8.1.10.0210.00917.45
8.1.00.0210.00617.34
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0030.00318.36
8.0.270.0030.00316.88
8.0.260.0030.00318.38
8.0.250.0030.00316.86
8.0.240.0040.00416.84
8.0.230.0080.00016.89
8.0.220.0050.00316.86
8.0.210.0000.00716.90
8.0.200.0040.00416.96
8.0.190.0030.00316.85
8.0.180.0030.00516.82
8.0.170.0060.00316.89
8.0.160.0170.00616.92
8.0.150.0040.01316.80
8.0.140.0170.00316.69
8.0.130.0110.01016.93
8.0.120.0150.00716.87
8.0.110.0090.01216.85
8.0.100.0170.00416.94
8.0.90.0190.00016.89
8.0.80.0110.01116.87
8.0.70.0120.00816.82
8.0.60.0200.00316.85
8.0.50.0120.00616.88
8.0.30.0120.00216.71
8.0.20.0140.00316.97
8.0.10.0210.00016.89
7.4.330.0050.00015.55
7.4.320.0030.00316.29
7.4.300.0000.00716.43
7.4.290.0040.00416.32
7.4.280.0160.00316.36
7.4.270.0180.00416.27
7.4.260.0200.00316.25
7.4.250.0270.00016.38
7.4.240.0210.00416.43
7.4.230.0210.00416.43
7.4.220.0200.00316.35
7.4.210.0100.01016.27
7.4.200.0160.00516.36
7.4.190.0140.00316.30
7.4.180.0160.00416.34
7.4.160.0100.01116.42
7.4.150.0160.00016.34
7.4.140.0040.00916.25
7.4.130.0100.00616.17
7.4.120.0100.01016.30
7.4.110.0140.00516.33
7.4.100.0100.00616.34
7.4.90.0120.00516.25
7.4.80.0160.00416.26
7.4.70.0180.00216.26
7.4.60.0090.00916.31
7.4.50.0150.00316.23
7.4.40.0080.00416.27
7.4.30.0050.00516.11
7.4.20.0180.00016.24
7.4.10.0130.00916.24
7.4.00.0140.00416.16

preferences:
65.14 ms | 1228 KiB | 5 Q