3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ChildVisitor { /* some visiting methods */ } interface ParentVisitor extends ChildVisitor { /* some extra visiting methods */ } interface ParentType { public function accept(ParentVisitor $visitor) : mixed; } interface ChildType extends ParentType { public function accept(ChildVisitor $visitor) : mixed; } interface OtherInterface extends ParentType {} interface InterfaceOrClass extends ChildType, OtherInterface {}

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.0230.00917.81
8.5.20.0230.00716.57
8.5.10.0220.00716.57
8.5.00.0220.00918.17
8.4.180.0220.00819.54
8.4.170.0240.00920.02
8.4.160.0200.01121.63
8.4.150.0150.00416.74
8.4.140.0150.01117.41
8.4.130.0190.00517.42
8.4.120.0160.00719.05
8.4.110.0140.01019.09
8.4.100.0160.00517.70
8.4.90.0130.00419.17
8.4.80.0150.00619.01
8.4.70.0120.00718.23
8.4.60.0120.01119.11
8.4.50.0110.01018.41
8.4.40.0090.01117.45
8.4.30.0120.00418.90
8.4.20.0120.00817.71
8.4.10.0120.00718.45
8.3.300.0150.00919.47
8.3.290.0160.00819.53
8.3.280.0220.01018.31
8.3.270.0250.01016.53
8.3.260.0270.00516.60
8.3.250.0240.00717.81
8.3.240.0230.00916.60
8.3.230.0210.00816.45
8.3.220.0240.00617.78
8.3.210.0210.00816.58
8.3.200.0190.00716.62
8.3.190.0230.00816.81
8.3.180.0160.00916.60
8.3.170.0260.00617.55
8.3.160.0210.01216.46
8.3.150.0270.00416.77
8.3.140.0190.00616.42
8.3.130.0260.00216.58
8.3.120.0170.00817.55
8.3.110.0190.00618.70
8.3.100.0220.00616.45
8.3.90.0210.00621.59
8.3.80.0220.00617.90
8.3.70.0220.00817.02
8.3.60.0110.00816.49
8.3.50.0120.00921.75
8.3.40.0170.00618.27
8.3.30.0110.00818.04
8.3.20.0100.00721.05
8.3.10.0100.00621.17
8.3.00.0130.00522.03
8.2.300.0280.00620.04
8.2.290.0220.00616.65
8.2.280.0190.00617.54
8.2.270.0180.00516.47
8.2.260.0230.00317.44
8.2.250.0160.00816.53
8.2.240.0240.00616.57
8.2.230.0190.00519.33
8.2.220.0220.00220.21
8.2.210.0190.00919.33
8.2.200.0200.00417.54
8.2.190.0220.00817.21
8.2.180.0170.01021.17
8.2.170.0210.00818.38
8.2.160.0190.00620.48
8.2.150.0180.00421.77
8.2.140.0190.00421.14
8.2.130.0190.00421.99
8.2.120.0210.00422.10
8.2.110.0130.00921.41
8.2.100.0170.00717.71
8.2.90.0140.00817.76
8.2.80.0180.00618.25
8.2.70.0130.00648.59
8.2.60.0170.00617.97
8.2.50.0170.00517.99
8.2.40.0170.00519.32
8.2.30.0140.00718.43
8.2.20.0140.00817.70
8.2.10.0120.00518.72
8.2.00.0120.00718.51
8.1.340.0210.01020.16
8.1.330.0190.00518.88
8.1.320.0170.00617.00
8.1.310.0160.00816.15
8.1.300.0220.00817.86
8.1.290.0200.00323.37
8.1.280.0210.00820.96
8.1.270.0200.00620.75
8.1.260.0180.00522.82
8.1.250.0200.00222.89
8.1.240.0170.00620.78
8.1.230.0170.00817.55
8.1.220.0150.00817.57
8.1.210.0160.00818.19
8.1.200.0180.00617.31
8.1.190.0150.00717.31
8.1.180.0160.00717.82
8.1.170.0170.00518.15
8.1.160.0180.00518.12
8.1.150.0140.00718.29
8.1.140.0150.00818.13
8.1.130.0140.00618.78
8.1.120.0110.00618.45
8.1.110.0130.00817.87
8.1.100.0120.00817.88
8.1.90.0150.00517.83
8.1.80.0130.00817.80
8.1.70.0140.00817.87
8.1.60.0180.00418.04
8.1.50.0130.00817.88
8.1.40.0150.00617.93
8.1.30.0150.00618.03
8.1.20.0130.00917.94
8.1.10.0140.00817.82
8.1.00.0150.00617.78
8.0.300.0120.00819.12
8.0.290.0180.00216.80
8.0.280.0140.00717.63
8.0.270.0120.00458.71
8.0.260.0140.00617.71
8.0.250.0130.00717.28
8.0.240.0150.00417.28
8.0.230.0140.00517.29
8.0.220.0120.00717.15
8.0.210.0150.00517.75
8.0.200.0160.00617.25
8.0.190.0130.00717.90
8.0.180.0130.00617.25
8.0.170.0140.00617.19
8.0.160.0140.00517.19
8.0.150.0130.00617.23
8.0.140.0150.00517.13
8.0.130.0120.00716.03
8.0.120.0150.00417.13
8.0.110.0150.00417.13
8.0.100.0150.00417.18
8.0.90.0110.00517.01
8.0.80.0120.01116.99
8.0.70.0120.00717.20
8.0.60.0150.00417.20
8.0.50.0110.00817.18
8.0.30.0120.00917.06
8.0.20.0140.01017.15
8.0.10.0150.00917.20
8.0.00.0170.00717.21
7.4.330.0150.00516.35
7.4.320.0130.00816.83
7.4.300.0170.00416.87
7.4.290.0180.00316.83
7.4.280.0150.00616.91
7.4.270.0150.00516.84
7.4.260.0160.00515.79
7.4.250.0130.00716.82
7.4.240.0190.00617.34
7.4.230.0120.00716.85
7.4.220.0110.00316.78
7.4.210.0090.00816.70
7.4.200.0130.00617.37
7.4.190.0170.00717.19
7.4.180.0200.00517.07
7.4.160.0130.00716.77
7.4.150.0130.00717.01
7.4.140.0130.00816.70
7.4.130.0110.00916.65
7.4.120.0140.00816.60
7.4.110.0150.00616.57
7.4.100.0140.00816.63
7.4.90.0130.00816.52
7.4.80.0150.00616.60
7.4.70.0150.00616.57
7.4.60.0120.00916.55
7.4.50.0130.00716.43
7.4.40.0090.00916.55
7.4.30.0120.00716.64
7.4.20.0130.00616.53
7.4.10.0140.00716.95
7.4.00.0140.00616.66
7.3.330.0150.00216.63
7.3.320.0120.00515.57
7.3.310.0130.00616.62
7.3.300.0120.00516.63
7.3.290.0110.00916.51
7.3.280.0130.00916.62
7.3.270.0120.00916.55
7.3.260.0160.00516.55
7.3.250.0120.00816.46
7.3.240.0120.00816.42
7.3.230.0150.00416.53
7.3.220.0120.00916.53
7.3.210.0130.00716.54
7.3.200.0120.00716.51
7.3.190.0140.00516.58
7.3.180.0140.00516.58
7.3.170.0130.00716.47
7.3.160.0130.00616.46
7.3.150.0130.00616.56
7.3.140.0160.00516.47
7.3.130.0130.00716.51
7.3.120.0120.00716.47
7.3.110.0160.00516.34
7.3.100.0100.00916.47
7.3.90.0120.00816.56
7.3.80.0120.00716.86
7.3.70.0110.00916.55
7.3.60.0120.00616.57
7.3.50.0130.00716.61
7.3.40.0120.00816.58
7.3.30.0140.00516.58
7.3.20.0160.00717.33
7.3.10.0140.00617.24
7.3.00.0130.00717.34

preferences:
36.2 ms | 475 KiB | 5 Q